X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.el;h=065ea86f6f18efa8edf5075c4c29c1e21922afab;hp=af45a21a24b5c345682de16786b868f3b736c97b;hb=b16a767f51441471178eebeeef8496843cee59e5;hpb=b58dcfb7026e7bc5dbc9c2333d07dcb11a9975aa diff --git a/notmuch.el b/notmuch.el index af45a21a..065ea86f 100644 --- a/notmuch.el +++ b/notmuch.el @@ -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."