Commit 1e58dc9e authored by Eli Zaretskii's avatar Eli Zaretskii

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.
parent 062369e3
Pipeline #1216 failed with stage
in 60 minutes and 1 second
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment