Remove eshell/term from dtrt excluded modes

Unnecessary because their buffers don't make it through
doom|detect-indentation's condition anyway.
This commit is contained in:
Henrik Lissner 2019-03-28 01:43:12 -04:00
parent 2dc52bc9be
commit 0a1de03ca1
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395
2 changed files with 1 additions and 5 deletions

View File

@ -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)

View File

@ -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)