We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f46cc5d commit 6e966d5Copy full SHA for 6e966d5
CHANGELOG.md
@@ -10,6 +10,7 @@
10
### New features
11
12
* Add imenu support for multimethods
13
+* Make imenu recognize indented def-forms
14
* New interactive command `clojure-cycle-when`.
15
* New interactive command `clojure-cycle-not`.
16
clojure-mode.el
@@ -657,7 +657,7 @@ and `(match-end 1)'."
657
Called by `imenu--generic-function'."
658
;; we have to take into account namespace-definition forms
659
;; e.g. s/defn
660
- (when (re-search-backward "^(\\([a-z0-9.-]+/\\)?\\(def\\sw*\\)" nil t)
+ (when (re-search-backward "^[ \t]*(\\([a-z0-9.-]+/\\)?\\(def\\sw*\\)" nil t)
661
(save-excursion
662
(let (found?
663
(deftype (match-string 2))
0 commit comments