]> code.delx.au - gnu-emacs-elpa/commitdiff
Add clojure-mode to modes-to-prefer-defun
authorArtur Malabarba <bruce.connor.am@gmail.com>
Wed, 25 Mar 2015 17:54:01 +0000 (17:54 +0000)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Wed, 25 Mar 2015 17:54:34 +0000 (17:54 +0000)
aggressive-indent.el

index 21353a473782e4bd67e7b6b91320c784f216c6ed..ee72a17e993292e352bfb4fe43088649b218b97d 100644 (file)
@@ -197,7 +197,8 @@ commands will NOT be followed by a re-indent."
 This is for internal use only. For user customization, use
 `aggressive-indent-dont-indent-if' instead.")
 
-(defcustom modes-to-prefer-defun '(emacs-lisp-mode lisp-mode scheme-mode)
+(defcustom modes-to-prefer-defun
+  '(emacs-lisp-mode lisp-mode scheme-mode clojure-mode)
   "List of major-modes in which indenting defun is preferred.
 Add here any major modes with very good definitions of
 `end-of-defun' and `beginning-of-defun', or modes which bug out