Skip to content

Commit d477772

Browse files
committed
Merge pull request #283 from Chouser/Chouser-clojure-indent-01
Support prefixed syms in clojure-indent-function
2 parents 7a4f98d + 15e1117 commit d477772

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clojure-mode.el

+2-1
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,8 @@ This function also returns nil meaning don't specify the indentation."
681681
(function-tail (car
682682
(reverse
683683
(split-string (substring-no-properties function) "/")))))
684-
(setq method (get (intern-soft function-tail) 'clojure-indent-function))
684+
(setq method (or (get (intern-soft function) 'clojure-indent-function)
685+
(get (intern-soft function-tail) 'clojure-indent-function)))
685686
(cond ((member (char-after open-paren) '(?\[ ?\{))
686687
(goto-char open-paren)
687688
(1+ (current-column)))

0 commit comments

Comments
 (0)