From 1d1cde48aeaca73dafd9afe1bbdaf2ce064d842e Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 25 Sep 2018 11:40:57 +0900 Subject: [PATCH] Add aggressive-indent-mode config --- emacs.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs.el b/emacs.el index 13bb490..8dfd871 100644 --- a/emacs.el +++ b/emacs.el @@ -791,6 +791,9 @@ found, otherwise returns nil." (require 'generic-x) (when (safe-require-or-eval 'aggressive-indent) + (defvar aggressive-indent-excluded-modes) + (add-to-list 'aggressive-indent-excluded-modes + 'diff-mode) (global-aggressive-indent-mode 1)) (when (autoload-eval-lazily 'ggtags)