[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 1e58dc9: Fix "M-x eshell"
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master 1e58dc9: Fix "M-x eshell" |
Date: |
Tue, 9 Apr 2019 04:02:37 -0400 (EDT) |
branch: master
commit 1e58dc9e11caa78e458e35ef4c7f32269e052d89
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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.
---
lisp/eshell/em-dirs.el | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lisp/eshell/em-dirs.el b/lisp/eshell/em-dirs.el
index 937bc98..93b10b5 100644
--- a/lisp/eshell/em-dirs.el
+++ b/lisp/eshell/em-dirs.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 1e58dc9: Fix "M-x eshell",
Eli Zaretskii <=