From: Ken Manheimer Date: Wed, 27 Jan 2016 08:13:00 +0000 (-0500) Subject: multishell - don't inhibit buffer names from completions. X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/8cea630b74fe4b8806d250d551be4a23d346fa59 multishell - don't inhibit buffer names from completions. Allow duplicates as sign of buffers that currently exist vs historical entries. --- 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))