We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 183ae4d commit 15e6ea8Copy full SHA for 15e6ea8
clojure-mode.el
@@ -818,9 +818,9 @@ This function also returns nil meaning don't specify the indentation."
818
(or (and clojure-defun-style-default-indent
819
;; largely to preserve useful alignment of :require, etc in ns
820
(not (string-match "^:" function)))
821
- (and (string-match "\\`\\(?:\\S +/\\)?\\(def\\|with-\\)"
+ (and (string-match "\\`\\(?:\\S +/\\)?\\(def[a-z]*\\|with-\\)"
822
function)
823
- (not (string-match "\\`default" function)))))))
+ (not (string-match "\\`default" (match-string 1 function))))))))
824
(+ lisp-body-indent containing-form-column))
825
(_ (clojure--normal-indent calculate-lisp-indent-last-sexp))))))
826
0 commit comments