Skip to content

Commit acaaf02

Browse files
author
Jinseop Kim
committed
Fix for that wrong indentation in multi-arity forms.
- Related issue: #239 - Revert commits: 7c3a604, ae5f46d
1 parent 78303da commit acaaf02

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: clojure-mode.el

+1-4
Original file line numberDiff line numberDiff line change
@@ -715,10 +715,7 @@ This function also returns nil meaning don't specify the indentation."
715715
;; thing on that line has to be complete sexp since we are
716716
;; inside the innermost containing sexp.
717717
(backward-prefix-chars)
718-
(if (and (eq (char-after (point)) ?\[)
719-
(eq (char-after (elt state 1)) ?\())
720-
(+ (current-column) 2) ;; this is probably inside a defn
721-
(current-column)))
718+
(current-column))
722719
(let* ((function (buffer-substring (point)
723720
(progn (forward-sexp 1) (point))))
724721
(open-paren (elt state 1))

0 commit comments

Comments
 (0)