diff options
| author | Theodor Thornhill <theo@thornhill.no> | 2020-06-22 01:49:20 +0300 |
|---|---|---|
| committer | Dmitry Gutov <dgutov@yandex.ru> | 2020-06-22 01:49:20 +0300 |
| commit | a1686c00d0e4550228673e9f2b95b7c1c0662be8 (patch) | |
| tree | 3ee18bce523b3d7c05b763d4ef32954fb531c0bd | |
| parent | 7221d844b1c822e91ef300c746f8520e8e7518c7 (diff) | |
| download | emacs-a1686c00d0e4550228673e9f2b95b7c1c0662be8.tar.gz | |
Forward declare eshell-buffer-name in project-eshell
* lisp/progmodes/project.el: Forward declare 'eshell-buffer-name' so
that 'project-eshell' can use dynamically scoping with it.
| -rw-r--r-- | lisp/progmodes/project.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 5f4bfdf9b89..604882af8a5 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -740,6 +740,7 @@ switch to it. Otherwise, create a new Eshell buffer. With \\[universal-argument] prefix arg, create a new Eshell buffer even if one already exists." (interactive) + (defvar eshell-buffer-name) (let* ((default-directory (project-root (project-current t))) (eshell-buffer-name (concat "*" (file-name-nondirectory |
