From 576cb6993bbcce835a07eb0182cb31fb040d3ac7 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 23 Sep 2024 17:08:28 +0100 Subject: (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. --- Emacs/.config/emacs/elisp/eshell-additions.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Emacs') 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)))))) -- cgit v1.2.3-13-gbd6f