[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode 27ecdc5 047/352: fixing julia-mode; I used (do
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/julia-mode 27ecdc5 047/352: fixing julia-mode; I used (do ...) and apparently not all emacs installs |
Date: |
Sun, 29 Aug 2021 11:22:13 -0400 (EDT) |
branch: elpa/julia-mode
commit 27ecdc5409c8cc8939541d7704c92d65e33a94a6
Author: Jeff Bezanson <bezanson@post.harvard.edu>
Commit: Yichao Yu <yyc1992@gmail.com>
fixing julia-mode; I used (do ...) and apparently not all emacs installs
have it
---
julia-mode.el | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/julia-mode.el b/julia-mode.el
index f217f32..c76ddc5 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -86,18 +86,19 @@
; get the position of the last open block
(defun last-open-block-pos (min)
- (do ((count 0
- (cond ((at-keyword julia-block-start-keywords)
- (+ count 1))
- ((and (equal (current-word) "end")
- (not (in-comment)))
- (- count 1))
- (t count))))
- ((or (> count 0) (<= (point) min))
- (if (> count 0)
- (point)
- nil))
- (backward-word 1)))
+ (let ((count 0))
+ (while (not (or (> count 0) (<= (point) min)))
+ (backward-word 1)
+ (setq count
+ (cond ((at-keyword julia-block-start-keywords)
+ (+ count 1))
+ ((and (equal (current-word) "end")
+ (not (in-comment)))
+ (- count 1))
+ (t count))))
+ (if (> count 0)
+ (point)
+ nil)))
; get indent for last open block
(defun last-open-block (min)
- [nongnu] elpa/julia-mode 9ff2472 029/352: git seems to have changed the way .mailmap works., (continued)
- [nongnu] elpa/julia-mode 9ff2472 029/352: git seems to have changed the way .mailmap works., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0df0732 036/352: making Scalar disjoint from Tensor, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 27e392f 035/352: converting alloc.c for new GC, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 389a942 038/352: adding macros. to define a macro:, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode ef8a44c 037/352: replacing ` with : for symbol and expression quoting, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode cea8e08 039/352: moving dlsym, dlopen, and load out of builtins, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 1642a6e 041/352: keyword change: renaming type to abstract and struct to type, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 946222c 042/352: Trying multiplication of darrays, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 833dae5 049/352: Update mailmap., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 38ad5c0 060/352: Mailmap entry for Stephan., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 27ecdc5 047/352: fixing julia-mode; I used (do ...) and apparently not all emacs installs,
ELPA Syncer <=
- [nongnu] elpa/julia-mode 42a61fc 057/352: Add Giuseppe to the .mailmap file., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 9553095 059/352: New entry in .mailmap for Jeff., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode a04be67 071/352: of course, all my tree compressing broke file/line metadata. fix, and make the info easier to access too., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 91b2800 075/352: Color ccall and C_NULL in emacs mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode b82208b 076/352: use font-lock-constant-face for symbolic constants, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 419dfd9 090/352: fix to "in" syntax highlighting, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 2843dad 092/352: fix #874, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode db9a18c 102/352: .mailmap: some additions to dedup contributors in gitlog, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 44cd797 116/352: Update mailmap, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 7064885 113/352: update mailmap, ELPA Syncer, 2021/08/29