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.
clojure-match-next-def
1 parent 4dcd7bc commit 02286ecCopy full SHA for 02286ec
CHANGELOG.md
@@ -2,6 +2,10 @@
2
3
## master (unreleased)
4
5
+### Bugs fixed
6
+
7
+* Make `clojure-match-next-def` more robust against zero-arity def-like forms.
8
9
### New features
10
11
* New interactive command `clojure-cycle-when`.
clojure-mode.el
@@ -664,7 +664,9 @@ Called by `imenu--generic-function'."
664
(down-list)
665
(forward-sexp)
666
(while (not found?)
667
- (forward-sexp)
+ (condition-case nil
668
+ (forward-sexp)
669
+ (error nil))
670
(or (if (char-equal ?[ (char-after (point)))
671
(backward-sexp))
672
(if (char-equal ?) (char-after (point)))
0 commit comments