Skip to content

Commit

Permalink
Indent functions that start with "with-" using defn style.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Jun 5, 2009
1 parent 19eed3b commit 313343a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clojure-mode.el
Expand Up @@ -457,7 +457,7 @@ This function also returns nil meaning don't specify the indentation."
((or (eq method 'defun)
(and (null method)
(> (length function) 3)
(string-match "\\`\\(?:clojure/\\)?def" function)))
(string-match "\\`\\(?:clojure/\\)?\\(def\\|with-\\)" function)))
(lisp-indent-defform state indent-point))

((integerp method)
Expand Down

0 comments on commit 313343a

Please sign in to comment.