projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7221d84
)
Forward declare eshell-buffer-name in project-eshell
author
Theodor Thornhill
<theo@thornhill.no>
Sun, 21 Jun 2020 22:49:20 +0000
(
01:49
+0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Sun, 21 Jun 2020 22:49:20 +0000
(
01:49
+0300)
* lisp/progmodes/project.el: Forward declare 'eshell-buffer-name' so
that 'project-eshell' can use dynamically scoping with it.
lisp/progmodes/project.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/project.el
b/lisp/progmodes/project.el
index 5f4bfdf9b89dbe2d3a9c56fbe334ba9b492165ce..604882af8a509eddbb4c5c5a58cdc03c0690ab72 100644
(file)
--- 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