]> code.delx.au - gnu-emacs-elpa/commitdiff
multishell - don't inhibit buffer names from completions.
authorKen Manheimer <ken.manheimer@gmail.com>
Wed, 27 Jan 2016 08:13:00 +0000 (03:13 -0500)
committerKen Manheimer <ken.manheimer@gmail.com>
Wed, 27 Jan 2016 08:13:00 +0000 (03:13 -0500)
Allow duplicates as sign of buffers that currently exist vs historical
entries.

multishell.el

index 50035c04842340bf0e44b4812cf0a2a5c94de883..b5bfca6437ffb86b36f0df0728229413e84ee291 100644 (file)
@@ -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))