Fix void-variable eshell-modules-list

Only affected Emacs 26 users.
This commit is contained in:
Henrik Lissner 2021-01-10 04:49:00 -05:00
parent f2035811db
commit 1b6cf5777a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -73,8 +73,6 @@ You should use `set-eshell-alias!' to change this.")
eshell-glob-case-insensitive t
eshell-error-if-no-glob t)
(add-to-list 'eshell-modules-list 'eshell-tramp)
;; Consider eshell buffers real
(add-hook 'eshell-mode-hook #'doom-mark-buffer-as-real-h)
@ -105,6 +103,10 @@ You should use `set-eshell-alias!' to change this.")
;; or configure `+eshell-aliases' via elisp.
(advice-add #'eshell-write-aliases-list :override #'ignore)
;; REVIEW In Emacs 27 and newer, waiting for esh-module is unnecessary.
(after! esh-module
(add-to-list 'eshell-modules-list 'eshell-tramp))
;; Visual commands require a proper terminal. Eshell can't handle that, so
;; it delegates these commands to a term buffer.
(after! em-term