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

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

[nongnu] elpa/clojure-mode e94165d3b8 2/3: Add a note


From: ELPA Syncer
Subject: [nongnu] elpa/clojure-mode e94165d3b8 2/3: Add a note
Date: Wed, 14 Dec 2022 04:58:37 -0500 (EST)

branch: elpa/clojure-mode
commit e94165d3b8743bf530a8f389aba3459cfa7a352b
Author: Bozhidar Batsov <bozhidar@batsov.dev>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>

    Add a note
---
 clojure-mode.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/clojure-mode.el b/clojure-mode.el
index fc3813e554..d940bf9bee 100644
--- a/clojure-mode.el
+++ b/clojure-mode.el
@@ -778,6 +778,9 @@ Called by `imenu--generic-function'."
             (deftype (match-string 2))
             (start (point)))
         ;; ignore user-error from down-list when called from inside a string 
or comment
+        ;; TODO: a better workaround would be to wrap it in
+        ;; unless (ppss-comment-or-string-start (syntax-ppss)) instead of 
ignore-errors,
+        ;; but ppss-comment-or-string-start is only available since Emacs 27
         (ignore-errors
           (down-list))
         (forward-sexp)



reply via email to

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