diff options
| author | Eli Zaretskii | 2019-04-09 11:01:24 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-04-09 11:01:24 +0300 |
| commit | 1e58dc9e11caa78e458e35ef4c7f32269e052d89 (patch) | |
| tree | ffb5751f6662311313522efd154708000589f955 /lisp/eshell | |
| parent | 062369e3aebdbcf25538e71686208a2126d83619 (diff) | |
| download | emacs-1e58dc9e11caa78e458e35ef4c7f32269e052d89.tar.gz emacs-1e58dc9e11caa78e458e35ef4c7f32269e052d89.zip | |
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.
Diffstat (limited to 'lisp/eshell')
| -rw-r--r-- | lisp/eshell/em-dirs.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/eshell/em-dirs.el b/lisp/eshell/em-dirs.el index 937bc981c53..93b10b59948 100644 --- a/lisp/eshell/em-dirs.el +++ b/lisp/eshell/em-dirs.el | |||
| @@ -46,6 +46,11 @@ | |||
| 46 | (require 'ring) | 46 | (require 'ring) |
| 47 | (require 'esh-opt) | 47 | (require 'esh-opt) |
| 48 | 48 | ||
| 49 | (declare-function eshell-apply-indices "esh-var") | ||
| 50 | (defvar eshell-variable-aliases-list) | ||
| 51 | (defvar eshell-directory-name) | ||
| 52 | (defvar eshell-mode) | ||
| 53 | |||
| 49 | ;;;###autoload | 54 | ;;;###autoload |
| 50 | (progn | 55 | (progn |
| 51 | (defgroup eshell-dirs nil | 56 | (defgroup eshell-dirs nil |
| @@ -171,6 +176,7 @@ Thus, this does not include the current directory.") | |||
| 171 | 176 | ||
| 172 | (defun eshell-dirs-initialize () | 177 | (defun eshell-dirs-initialize () |
| 173 | "Initialize the builtin functions for Eshell." | 178 | "Initialize the builtin functions for Eshell." |
| 179 | (require 'esh-var) | ||
| 174 | (make-local-variable 'eshell-variable-aliases-list) | 180 | (make-local-variable 'eshell-variable-aliases-list) |
| 175 | (setq eshell-variable-aliases-list | 181 | (setq eshell-variable-aliases-list |
| 176 | (append | 182 | (append |