[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode 40c5e82 185/352: Fix indentation when we're ind
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/julia-mode 40c5e82 185/352: Fix indentation when we're indenting a line that has an open paren after point. |
Date: |
Sun, 29 Aug 2021 11:22:41 -0400 (EDT) |
branch: elpa/julia-mode
commit 40c5e82f07861b2e877ea2c52368eab85a117269
Author: Wilfred Hughes <me@wilfred.me.uk>
Commit: Yichao Yu <yyc1992@gmail.com>
Fix indentation when we're indenting a line that has an open paren after
point.
---
julia-mode.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/julia-mode.el b/julia-mode.el
index 7dfc292..d0881e1 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -353,10 +353,12 @@ before point. Returns nil if we're not within nested
parens."
(indent-line-to
(or
;; If we're inside an open paren, indent to line up arguments.
- (ignore-errors (julia-paren-indent))
;; If we're on a block end keyword, unindent.
(save-excursion
(beginning-of-line)
+ (ignore-errors (julia-paren-indent)))
+ (save-excursion
+ (beginning-of-line)
(forward-to-indentation 0)
(let ((endtok (julia-at-keyword julia-block-end-keywords)))
(ignore-errors (+ (julia-last-open-block (point-min))
- [nongnu] elpa/julia-mode 1332b74 262/352: update for changed type keywords in 0.6, (continued)
- [nongnu] elpa/julia-mode 1332b74 262/352: update for changed type keywords in 0.6, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0f064b7 280/352: Enable color in inferior julia, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode ec01995 285/352: Merge pull request #54 from jamii/patch-1, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 68181e6 293/352: Replace IntSet by BitSet, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode cb6d4bd 267/352: Fix badge URL, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 6a0f756 288/352: Merge pull request #67 from tpapp/tp/latexsubs, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0d9a793 287/352: Move LaTeX substitutions to a separate file, clean up generating script., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode deda1e2 284/352: Add test, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 69439e2 055/352: Fix Stephan's last name in .mailmap., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 5762e13 133/352: remove * and div for Char, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 40c5e82 185/352: Fix indentation when we're indenting a line that has an open paren after point.,
ELPA Syncer <=
- [nongnu] elpa/julia-mode 4f72dfa 246/352: Merge pull request #13 from JuliaLang/keywords_in_comments, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 344e6c2 283/352: Merge pull request #42 from antoine-levitt/math-insert, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 115d4dc 277/352: Regenerate latex auto completion (#45), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode db84928 299/352: Merge pull request #74 from non-Jedi/emoji, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode d21b83d 316/352: Merge pull request #93 from non-Jedi/julia-mode-latexsubs_feature, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 839726a 336/352: Merge pull request #123 from ronisbr/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 2395931 142/352: Since julia-mode.el contains utf-8 chars, mark the file as utf-8., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 5e52d81 188/352: Don't error if the first line of the file is empty., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode b66f8a4 274/352: Insertion of math symbols in julia using auctex's mechanism, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 864e124 311/352: remove newline, ELPA Syncer, 2021/08/29