From 8cea630b74fe4b8806d250d551be4a23d346fa59 Mon Sep 17 00:00:00 2001 From: Ken Manheimer Date: Wed, 27 Jan 2016 03:13:00 -0500 Subject: [PATCH] multishell - don't inhibit buffer names from completions. Allow duplicates as sign of buffers that currently exist vs historical entries. --- multishell.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/multishell.el b/multishell.el index 50035c048..b5bfca643 100644 --- a/multishell.el +++ b/multishell.el @@ -497,7 +497,9 @@ Return the supplied name, if provided, else return nil." (with-current-buffer buffer ;; Shell mode buffers. (derived-mode-p 'shell-mode)) - (not (multishell-history-entries name)) + ;; Allow duplicates, as sign of buffers that + ;; currently exist vs historical entries. + ;;(not (multishell-history-entries name)) name))) (buffer-list))) multishell-history)) -- 2.39.2