[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode 7c1603c 226/352: Use more common name for inden
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/julia-mode 7c1603c 226/352: Use more common name for indentation setting |
Date: |
Sun, 29 Aug 2021 11:22:50 -0400 (EDT) |
branch: elpa/julia-mode
commit 7c1603c37f38b27d0247fca18cf0280b8b6e2375
Author: Marten Lienen <marten.lienen@gmail.com>
Commit: Yichao Yu <yyc1992@gmail.com>
Use more common name for indentation setting
---
julia-mode.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/julia-mode.el b/julia-mode.el
index 916a274..401f84e 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -42,7 +42,7 @@
(defvar julia-mode-hook nil)
-(defvar julia-basic-offset)
+(defvar julia-indent-offset)
(defface julia-macro-face
'((t :inherit font-lock-preprocessor-face))
@@ -367,7 +367,7 @@ Do not move back beyond MIN."
(and pos
(progn
(goto-char pos)
- (+ julia-basic-offset (current-indentation))))))
+ (+ julia-indent-offset (current-indentation))))))
(defsubst julia--safe-backward-char ()
"Move back one character, but don't error if we're at the
@@ -436,7 +436,7 @@ with it. Returns nil if we're not within nested parens."
(end-of-line) (backward-char 1)
(and (equal (char-after (point)) ?=)
(not (julia-in-comment)))))
- (+ julia-basic-offset (current-indentation))
+ (+ julia-indent-offset (current-indentation))
nil)))
;; Indent according to how many nested blocks we are in.
(save-excursion
@@ -444,7 +444,7 @@ with it. Returns nil if we're not within nested parens."
(forward-to-indentation 0)
(let ((endtok (julia-at-keyword julia-block-end-keywords)))
(ignore-errors (+ (julia-last-open-block (- (point)
julia-max-block-lookback))
- (if endtok (- julia-basic-offset) 0)))))
+ (if endtok (- julia-indent-offset) 0)))))
;; Otherwise, use the same indentation as previous line.
(save-excursion (forward-line -1)
(current-indentation))
@@ -655,7 +655,7 @@ c"))
(set (make-local-variable 'syntax-propertize-function)
julia-syntax-propertize-function))
(set (make-local-variable 'indent-line-function) 'julia-indent-line)
- (set (make-local-variable 'julia-basic-offset) 4)
+ (set (make-local-variable 'julia-indent-offset) 4)
(setq indent-tabs-mode nil)
(setq imenu-generic-expression julia-imenu-generic-expression)
(imenu-add-to-menubar "Imenu"))
- [nongnu] elpa/julia-mode fc04731 153/352: Highlight parameter types and subtypes., (continued)
- [nongnu] elpa/julia-mode fc04731 153/352: Highlight parameter types and subtypes., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 70d6482 160/352: `throw` and `error` are built-in functions that we should highlight., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode ba5ba4c 168/352: Highlight function names when defined with the assignment syntax., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode caab4dc 172/352: Respect the active region when indenting., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode e5f8145 191/352: Use a separate face for Julia macro invocations., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 493fb7f 192/352: note #8947 in julia-mode.el, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 569d41a 206/352: julia-mode.el: stagedfunction, @[no]inline, indented functions, "=:symbol", ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 6f075d7 224/352: Use syntax-propertize-function on Emacs 24., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 96499ff 209/352: Silence Emacs byte-compilation warnings., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode c982fd6 216/352: Changed name of Emacs buffer to *Julia*, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 7c1603c 226/352: Use more common name for indentation setting,
ELPA Syncer <=
- [nongnu] elpa/julia-mode dd3d682 225/352: Fix Emacs 23 error., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 64d86a4 215/352: Added customization options, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode c7e3232 218/352: some tuple redesign follow-ups, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 5ee867e 211/352: Changed inferior-julia function in contrib/julia-mode.el to apply, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0c6673a 212/352: Changed input method for Julia Emacs buffer to TeX, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 6781ef1 220/352: Fix #11673, bad indent after comments ending in =, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 892beb1 231/352: Fix #12528, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0526f2f 242/352: Fix spelling of 'delimiter', ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 2b15d76 256/352: bol, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 7802452 263/352: Merge pull request #35 from tpapp/fix-10, ELPA Syncer, 2021/08/29