branch: master
commit 8d70b90b6f5b326749fbd1b8597ecf5cfc9b47d0
Author: Ken Manheimer <[email protected]>
Commit: Ken Manheimer <[email protected]>

    multishell - tie down multishell-history-entries matches
    
    so we get the correct entry for a name.
---
 multishell.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/multishell.el b/multishell.el
index 7295aa1..a748b38 100644
--- a/multishell.el
+++ b/multishell.el
@@ -201,7 +201,7 @@ Promote added/changed entry to the front of the list."
 
 (defun multishell-history-entries (name)
   "Return `multishell-history' entry that starts with NAME, or nil if none."
-  (let ((match-expr (concat "^" name "\\\(/.*$\\\)?"))
+  (let ((match-expr (concat "^" name "\\\(/.*$\\\)?$"))
         got)
     (dolist (entry multishell-history)
       (when (and (string-match match-expr entry)

Reply via email to