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)