diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-09-23 17:08:28 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-09-23 17:08:28 +0100 |
commit | 576cb6993bbcce835a07eb0182cb31fb040d3ac7 (patch) | |
tree | ac2362ef21d58621709ae10ca24feee6968cd555 /Emacs/.config/emacs/elisp/eshell-additions.el | |
parent | 700bc7c49fc5ddf698e6b1a7ca9bbfe97ede74ac (diff) | |
download | dotfiles-576cb6993bbcce835a07eb0182cb31fb040d3ac7.tar.gz dotfiles-576cb6993bbcce835a07eb0182cb31fb040d3ac7.tar.bz2 dotfiles-576cb6993bbcce835a07eb0182cb31fb040d3ac7.zip |
(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.
Diffstat (limited to 'Emacs/.config/emacs/elisp/eshell-additions.el')
-rw-r--r-- | Emacs/.config/emacs/elisp/eshell-additions.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emacs/.config/emacs/elisp/eshell-additions.el b/Emacs/.config/emacs/elisp/eshell-additions.el index 6c1147e..b18a8e8 100644 --- a/Emacs/.config/emacs/elisp/eshell-additions.el +++ b/Emacs/.config/emacs/elisp/eshell-additions.el @@ -79,7 +79,7 @@ or a currently opened one, naming it in the process." (result (switch-to-buffer (cdr result))) ((not (string= answer "")) (let ((eshell-buffer-name (format "*%s-eshell*" answer))) - (eshell))) + (eshell t))) (t (eshell)))))) |