Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e94165d

Browse filesBrowse files
committed
Add a note
1 parent fe29a03 commit e94165d
Copy full SHA for e94165d

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎clojure-mode.el

Copy file name to clipboardExpand all lines: clojure-mode.el
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,9 @@ Called by `imenu--generic-function'."
778778
(deftype (match-string 2))
779779
(start (point)))
780780
;; ignore user-error from down-list when called from inside a string or comment
781+
;; TODO: a better workaround would be to wrap it in
782+
;; unless (ppss-comment-or-string-start (syntax-ppss)) instead of ignore-errors,
783+
;; but ppss-comment-or-string-start is only available since Emacs 27
781784
(ignore-errors
782785
(down-list))
783786
(forward-sexp)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.