]> code.delx.au - gnu-emacs-elpa/commitdiff
Stop using electric-indent-inhibit
authorArtur Malabarba <bruce.connor.am@gmail.com>
Thu, 15 Jan 2015 20:00:45 +0000 (18:00 -0200)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Thu, 15 Jan 2015 20:00:45 +0000 (18:00 -0200)
aggressive-indent.el

index aced4e8611539d0d0462e976f11bb0399bbf53d9..1466df9a1e67d5792f569d3765af4a553a4cb468 100644 (file)
@@ -4,7 +4,7 @@
 
 ;; Author: Artur Malabarba <bruce.connor.am@gmail.com>
 ;; URL: http://github.com/Bruce-Connor/aggressive-indent-mode
-;; Version: 0.3.3
+;; Version: 0.3.4
 ;; Package-Requires: ((emacs "24.1") (names "0.5") (cl-lib "0.5"))
 ;; Keywords: indent lisp maint tools
 ;; Prefix: aggressive-indent
@@ -370,9 +370,7 @@ strings."
   (if mode
       (if (and global-aggressive-indent-mode
                (or (cl-member-if #'derived-mode-p excluded-modes)
-                   buffer-read-only
-                   (and (boundp 'electric-indent-inhibit)
-                        electric-indent-inhibit)))
+                   buffer-read-only))
           (mode -1)
         ;; Should electric indent be ON or OFF?
         (if (or (eq dont-electric-modes t)