]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.el
Look at whitespace to separate folder name from count
[notmuch] / notmuch.el
index af45a21a24b5c345682de16786b868f3b736c97b..065ea86f6f18efa8edf5075c4c29c1e21922afab 100644 (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."