[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode 9df3a7e 307/352: fix variable renaming
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/julia-mode 9df3a7e 307/352: fix variable renaming |
Date: |
Sun, 29 Aug 2021 11:23:07 -0400 (EDT) |
branch: elpa/julia-mode
commit 9df3a7ec32f3587dd3a590ae37535fdea6e88a0d
Author: Tamas K. Papp <tkpapp@gmail.com>
Commit: Tamas K. Papp <tkpapp@gmail.com>
fix variable renaming
over-enthusiastic query replace; give a more expressive name
---
julia-mode.el | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/julia-mode.el b/julia-mode.el
index cffc466..7727476 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -459,17 +459,17 @@ symbol, gives up when this is not true."
"Return the position of the last open block, if one found.
Do not move back beyond position MIN."
(save-excursion
- (let ((cl-count 0))
- (while (not (or (> count 0) (<= (point) min)))
+ (let ((nesting-count 0))
+ (while (not (or (> nesting-count 0) (<= (point) min)))
(julia-safe-backward-sexp)
- (setq count
+ (setq nesting-count
(cond ((julia-at-keyword julia-block-start-keywords)
- (+ count 1))
+ (+ nesting-count 1))
((and (equal (current-word t) "end")
(not (julia-in-comment)))
- (- count 1))
- (t count))))
- (if (> count 0)
+ (- nesting-count 1))
+ (t nesting-count))))
+ (if (> nesting-count 0)
(point)
nil))))
- [nongnu] elpa/julia-mode 44c9959 241/352: julia-mode: Fix #15461, (continued)
- [nongnu] elpa/julia-mode 44c9959 241/352: julia-mode: Fix #15461, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 4f56ded 258/352: make lookback distance customizable, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 362be60 255/352: Merge pull request #26 from JeffBezanson/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 6add61b 254/352: fix indenting after commented `end`, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 8818ede 245/352: fix ignoring of keywords inside comments, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 9067194 268/352: Merge pull request #38 from Wilfred/patch-1, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode edaaff2 276/352: Bin op chars (#44), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode c20a4e5 300/352: generate new LaTeX substitutions using 1.3-pre., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode b194039 302/352: Merge pull request #72 from FelipeLema/unicode-for-in, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode addd3d4 305/352: Merge pull request #81 from JuliaEditorSupport/tp/add-substitution-tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 9df3a7e 307/352: fix variable renaming,
ELPA Syncer <=
- [nongnu] elpa/julia-mode 1b8682b 308/352: fix travis setup, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 43cfc91 109/352: Update mailmap, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 7304a4a 166/352: rename None to Union(), and Nothing to Void. fixes #8423, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode e22219f 266/352: Added another test., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 2486d1e 247/352: Replace {UTF8, ASCII, Byte}String with String, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode d3366f4 250/352: Added using, fixed bugs, added tests., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0e3217f 243/352: Enable travis on emacs23, emacs24, emacs-snapshot., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode c9d8ca6 265/352: Fix backslash character class., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 46d2469 272/352: Merge pull request #39 from rfourquet/rf/where, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode cb41ae0 303/352: Add unit tests for LaTeX substitution., ELPA Syncer, 2021/08/29