aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.el
diff options
context:
space:
mode:
authorGravatar Keith Packard <keithp@keithp.com>2009-12-26 16:34:17 -0800
committerGravatar Carl Worth <cworth@cworth.org>2010-02-08 14:35:29 -0800
commitb16a767f51441471178eebeeef8496843cee59e5 (patch)
tree38d14d785079ef86d928a6d0aecf843fe77a10ea /notmuch.el
parentb58dcfb7026e7bc5dbc9c2333d07dcb11a9975aa (diff)
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>
Diffstat (limited to 'notmuch.el')
-rw-r--r--notmuch.el4
1 files changed, 2 insertions, 2 deletions
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."