diff --git a/modules/emacs/eshell/config.el b/modules/emacs/eshell/config.el index 2665b6df9..42ed6a6ea 100644 --- a/modules/emacs/eshell/config.el +++ b/modules/emacs/eshell/config.el @@ -70,8 +70,6 @@ You should use `det-eshell-alias!' to change this.") eshell-glob-case-insensitive t eshell-error-if-no-glob t) - (add-to-list 'doom-detect-indentation-excluded-modes 'eshell-mode nil #'eq) - ;; Consider eshell buffers real (add-hook 'eshell-mode-hook #'doom|mark-buffer-as-real) diff --git a/modules/emacs/term/config.el b/modules/emacs/term/config.el index ccaa0a858..cf7b9a2b2 100644 --- a/modules/emacs/term/config.el +++ b/modules/emacs/term/config.el @@ -5,6 +5,4 @@ multi-term-switch-after-close 'PREVIOUS) ;; `term' (built-in) -(after! term - (add-hook 'term-mode-hook #'doom|mark-buffer-as-real) - (add-to-list 'doom-detect-indentation-excluded-modes 'term-mode nil #'eq)) +(add-hook 'term-mode-hook #'doom|mark-buffer-as-real)