branch: master
commit 05467f240c81496a187dbe5447d92ed9ea8fa46d
Author: Artur Malabarba <bruce.connor...@gmail.com>
Commit: Artur Malabarba <bruce.connor...@gmail.com>

    Add clojure-mode to modes-to-prefer-defun
---
 aggressive-indent.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/aggressive-indent.el b/aggressive-indent.el
index 21353a4..ee72a17 100644
--- a/aggressive-indent.el
+++ b/aggressive-indent.el
@@ -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

Reply via email to