File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -828,8 +828,9 @@ This function also returns nil meaning don't specify the indentation."
828828 (or (and clojure-defun-style-default-indent
829829 ; ; largely to preserve useful alignment of :require, etc in ns
830830 (not (string-match " ^:" function)))
831- (string-match " \\ `\\ (?:\\ S +/\\ )?\\ (def\\ |with-\\ )"
832- function)))))
831+ (and (string-match " \\ `\\ (?:\\ S +/\\ )?\\ (def\\ |with-\\ )"
832+ function)
833+ (not (string-match " \\ `default" function)))))))
833834 (+ lisp-body-indent containing-form-column))
834835 (_ (clojure--normal-indent calculate-lisp-indent-last-sexp))))))
835836
Original file line number Diff line number Diff line change @@ -240,6 +240,11 @@ values of customisable variables."
240240 (:gen-class)
241241 )" )
242242
243+ (def-full-indent-test default-is-not-a-define
244+ " (default a
245+ b
246+ b)" )
247+
243248(def-full-indent-test non-symbol-at-start
244249 " {\" 1\" 2
245250 *3 4}" )
You can’t perform that action at this time.
0 commit comments