branch: elpa/julia-mode commit 646f758cee41a76f8c3990751a7b4c8dbf67dcb1 Author: Wilfred Hughes <m...@wilfred.me.uk> Commit: Yichao Yu <yyc1...@gmail.com>
Don't skip over end keywords. --- julia-mode.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/julia-mode.el b/julia-mode.el index 8121aea..dc1f961 100644 --- a/julia-mode.el +++ b/julia-mode.el @@ -286,9 +286,7 @@ Do not move back beyond MIN." ;; Point is now at the beginning of indentation, restore it ;; to its original position (relative to indentation). (when (>= point-offset 0) - (move-to-column (+ (current-indentation) point-offset))) - (when (julia-at-keyword julia-block-end-keywords) - (forward-word 1)))) + (move-to-column (+ (current-indentation) point-offset))))) (defalias 'julia-mode-prog-mode (if (fboundp 'prog-mode)