aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/elisp/eshell-additions.el
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-09-23 17:08:28 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-09-23 17:08:28 +0100
commit576cb6993bbcce835a07eb0182cb31fb040d3ac7 (patch)
treeac2362ef21d58621709ae10ca24feee6968cd555 /Emacs/.config/emacs/elisp/eshell-additions.el
parent700bc7c49fc5ddf698e6b1a7ca9bbfe97ede74ac (diff)
downloaddotfiles-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.el2
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))))))