From acaaf02f8a88c2a809d2a345d90b48d2acc94a5e Mon Sep 17 00:00:00 2001 From: Jinseop Kim Date: Thu, 20 Nov 2014 21:35:35 +0900 Subject: [PATCH] Fix for that wrong indentation in multi-arity forms. - Related issue: #239 - Revert commits: 7c3a604, ae5f46d --- clojure-mode.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/clojure-mode.el b/clojure-mode.el index 8cd03222..40afadca 100644 --- a/clojure-mode.el +++ b/clojure-mode.el @@ -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))