(Emacs/elisp)~Fix bug in +eshell/open where named eshell instances weren't created
This happened because (eshell) with no arguments would not lookup eshell-buffer-name.
This commit is contained in:
@@ -79,7 +79,7 @@ or a currently opened one, naming it in the process."
|
|||||||
(result (switch-to-buffer (cdr result)))
|
(result (switch-to-buffer (cdr result)))
|
||||||
((not (string= answer ""))
|
((not (string= answer ""))
|
||||||
(let ((eshell-buffer-name (format "*%s-eshell*" answer)))
|
(let ((eshell-buffer-name (format "*%s-eshell*" answer)))
|
||||||
(eshell)))
|
(eshell t)))
|
||||||
(t
|
(t
|
||||||
(eshell))))))
|
(eshell))))))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user