diff options
author | Jim Porter <jporterbugs@gmail.com> | 2023-02-11 12:37:32 -0800 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2023-02-11 12:43:54 -0800 |
commit | 14c97db7366435b1edbf2854f485058a9d7c6071 (patch) | |
tree | 0c3dfbea196bcb912f31985f4962cc831370c65e /lisp/eshell | |
parent | 838415525bd4e77a79e18af8e4f01ed004196c71 (diff) | |
download | emacs-14c97db7366435b1edbf2854f485058a9d7c6071.tar.gz |
Make sure core Eshell modules are loaded
Previously, if you removed all (or most) extension modules from
Eshell, it failed to load esh-var.el, meaning that you couldn't use
variable expansions. To avoid this issue, we now explicitly load the
core modules in esh-mode.el.
* lisp/eshell/esh-mode.el: Explicitly require core Eshell modules.
Diffstat (limited to 'lisp/eshell')
-rw-r--r-- | lisp/eshell/esh-mode.el | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el index 654e26777e0..46c3c2fa175 100644 --- a/lisp/eshell/esh-mode.el +++ b/lisp/eshell/esh-mode.el @@ -58,10 +58,16 @@ ;;; Code: -(require 'esh-util) -(require 'esh-module) +;; Load the core Eshell modules; we'll call their initialization +;; functions below in `eshell-mode'. +(require 'esh-arg) (require 'esh-cmd) -(require 'esh-arg) ;For eshell-parse-arguments +(require 'esh-ext) +(require 'esh-io) +(require 'esh-module) +(require 'esh-proc) +(require 'esh-util) +(require 'esh-var) (defgroup eshell-mode nil "This module contains code for handling input from the user." |