From 8d70b90b6f5b326749fbd1b8597ecf5cfc9b47d0 Mon Sep 17 00:00:00 2001 From: Ken Manheimer Date: Fri, 22 Jan 2016 03:53:48 -0500 Subject: [PATCH] multishell - tie down multishell-history-entries matches so we get the correct entry for a name. --- multishell.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multishell.el b/multishell.el index 7295aa1ea..a748b38d3 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) -- 2.39.2