Look at whitespace to separate folder name from count

This allows folder names to contain any non-blank characters

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Keith Packard 2009-12-26 16:34:17 -08:00 committed by Carl Worth
parent b58dcfb702
commit b16a767f51

View file

@ -1537,8 +1537,8 @@ Currently available key bindings:
(save-excursion
(beginning-of-line)
(let ((beg (point)))
(forward-word)
(filter-buffer-substring beg (point)))))
(re-search-forward "\\([ \t]*[^ \t]+\\)")
(filter-buffer-substring (match-beginning 1) (match-end 1)))))
(defun notmuch-folder-show-search (&optional folder)
"Show a search window for the search related to the specified folder."