Skip to content

Commit

Permalink
Merge pull request #257 from vmfhrmfoaj/master
Browse files Browse the repository at this point in the history
Fix for that wrong indentation in multi-arity forms.
  • Loading branch information
bbatsov committed Nov 20, 2014
2 parents 78303da + acaaf02 commit 410c75b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions clojure-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -715,10 +715,7 @@ This function also returns nil meaning don't specify the indentation."
;; thing on that line has to be complete sexp since we are
;; inside the innermost containing sexp.
(backward-prefix-chars)
(if (and (eq (char-after (point)) ?\[)
(eq (char-after (elt state 1)) ?\())
(+ (current-column) 2) ;; this is probably inside a defn
(current-column)))
(current-column))
(let* ((function (buffer-substring (point)
(progn (forward-sexp 1) (point))))
(open-paren (elt state 1))
Expand Down

0 comments on commit 410c75b

Please sign in to comment.