From 37c33a330d29e95a4dc55ff7b992102530904752 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 3 Mar 2020 17:36:43 +0900 Subject: [PATCH] Remove aggressive-indent --- emacs.el | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/emacs.el b/emacs.el index b75a758..2568a2c 100644 --- a/emacs.el +++ b/emacs.el @@ -144,7 +144,7 @@ Otherwize hook it." pipenv imenu-list page-break-lines - aggressive-indent + ;; aggressive-indent dired-filter wgrep magit @@ -1449,21 +1449,6 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called." (add-to-list 'auto-mode-alist `(,git-rebase-filename-regexp . text-mode))) -(when (fboundp 'global-aggressive-indent-mode) - (add-hook 'after-first-visit-hook - 'global-aggressive-indent-mode)) -(with-eval-after-load 'aggressive-indent - (defvar aggressive-indent-excluded-modes) - (set-variable 'aggressive-indent-excluded-modes - `(web-mode - diff-mode - toml-mode - conf-mode - dockerfile-mode - groovy-mode - scala-mode - ,@aggressive-indent-excluded-modes))) - (when (fboundp 'ggtags-mode) (add-hook 'c-mode-common-hook 'ggtags-mode)