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

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

[nongnu] elpa/clojure-mode 76630045fb 1/7: Recognize hyphen or end of co


From: ELPA Syncer
Subject: [nongnu] elpa/clojure-mode 76630045fb 1/7: Recognize hyphen or end of comment
Date: Wed, 11 Dec 2024 12:59:25 -0500 (EST)

branch: elpa/clojure-mode
commit 76630045fb5b1660c91e2ab960f5636f4d567c47
Author: Sophie Bosio <sophie.bosio@outlook.com>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>

    Recognize hyphen or end of comment
---
 clojure-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clojure-mode.el b/clojure-mode.el
index e6f7e185e2..a70ad39c8d 100644
--- a/clojure-mode.el
+++ b/clojure-mode.el
@@ -2266,7 +2266,7 @@ renaming a namespace."
 (defconst clojure-def-type-and-name-regex
   (concat "(\\(?:\\(?:\\sw\\|\\s_\\)+/\\)?"
           ;; Declaration
-          "\\(def\\(?:\\sw\\|\\s_\\)*\\)\\>"
+          "\\(def\\(?:\\sw\\|\\s_\\)*\\(?:-\\|\\>\\)\\)"
           ;; Any whitespace
           "[ \r\n\t]*"
           ;; Possibly type or metadata



reply via email to

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