branch: elpa/moe-theme
commit b23975ba57a68f69551424552f484227db8a7b97
Author: Vedang Manerikar <[email protected]>
Commit: GitHub <[email protected]>

    Turn off aggressive-indent-mode only if it's actually on. (#115)
---
 .dir-locals.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.dir-locals.el b/.dir-locals.el
index fc816c94ac..6d97054d75 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -3,4 +3,5 @@
 
 ((emacs-lisp-mode
   (eval . (progn
-            (aggressive-indent-mode -1)))))
+            (when (fboundp 'aggressive-indent-mode)
+              (aggressive-indent-mode -1))))))

Reply via email to