diff options
Diffstat (limited to 'emacs/notmuch.el')
-rw-r--r-- | emacs/notmuch.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 9b2b592..27e3a40 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -663,7 +663,7 @@ characters as well as `_.+-'. (defun notmuch-search-buffer-title (query) "Returns the title for a buffer with notmuch search results." (let* ((folder (rassoc-if (lambda (key) - (string-match (concat "^" (regexp-quote key)) + (string-match (concat "^" (regexp-quote key) "$") query)) (notmuch-saved-searches))) (folder-name (car folder)) |