Fix "M-x eshell"
* lisp/eshell/em-dirs.el (eshell-variable-aliases-list) (eshell-directory-name, eshell-mode): Defvar them. (eshell-dirs-initialize): Require esh-var. (Bug#35203) (eshell-apply-indices): Declare.
This commit is contained in:
parent
062369e3ae
commit
1e58dc9e11
1 changed files with 6 additions and 0 deletions
|
@ -46,6 +46,11 @@
|
|||
(require 'ring)
|
||||
(require 'esh-opt)
|
||||
|
||||
(declare-function eshell-apply-indices "esh-var")
|
||||
(defvar eshell-variable-aliases-list)
|
||||
(defvar eshell-directory-name)
|
||||
(defvar eshell-mode)
|
||||
|
||||
;;;###autoload
|
||||
(progn
|
||||
(defgroup eshell-dirs nil
|
||||
|
@ -171,6 +176,7 @@ Thus, this does not include the current directory.")
|
|||
|
||||
(defun eshell-dirs-initialize ()
|
||||
"Initialize the builtin functions for Eshell."
|
||||
(require 'esh-var)
|
||||
(make-local-variable 'eshell-variable-aliases-list)
|
||||
(setq eshell-variable-aliases-list
|
||||
(append
|
||||
|
|
Loading…
Add table
Reference in a new issue