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:
parent
2dc52bc9be
commit
0a1de03ca1
2 changed files with 1 additions and 5 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue