emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/j-mode 561216c270 10/13: fix mark-defun for nested direct


From: ELPA Syncer
Subject: [nongnu] elpa/j-mode 561216c270 10/13: fix mark-defun for nested direct functions
Date: Tue, 11 Jun 2024 19:00:25 -0400 (EDT)

branch: elpa/j-mode
commit 561216c2708f6e63fdfc60845d327d5579ca441f
Author: LdBeth <andpuke@foxmail.com>
Commit: LdBeth <andpuke@foxmail.com>

    fix mark-defun for nested direct functions
---
 j-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/j-mode.el b/j-mode.el
index 4986a8acf2..fd0640a457 100644
--- a/j-mode.el
+++ b/j-mode.el
@@ -195,7 +195,7 @@ contents of current line."
       (:one-liner (beginning-of-line 2) t)
       (:multi-liner (search-forward-regexp "^)") t)
       (:direct (search-forward-regexp
-                (rx "}}" (or eol (not (any ".:")))))
+                (rx bol "}}" (? (not (any ".:")) (* nonl)) eol))
                t))))
 
 (defun j-beginning-of-explicit-definition ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]