aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2012-10-26 16:18:11 -0400
committerGravatar David Bremner <bremner@debian.org>2012-10-27 09:34:14 -0300
commitb235850f9be663e91a44a244c0c5979d95e4213e (patch)
treefc628feab909916451ecec921a3b41101f93e7e2 /emacs
parent1a4cb8fd29c52445fc3de70e92de377f00cdc4a7 (diff)
emacs: Escape tag queries performed by hello
Diffstat (limited to 'emacs')
-rw-r--r--emacs/notmuch-hello.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index 052aaebc..be50aae7 100644
--- a/emacs/notmuch-hello.el
+++ b/emacs/notmuch-hello.el
@@ -500,7 +500,7 @@ Complete list of currently available key bindings:
(defun notmuch-hello-generate-tag-alist (&optional hide-tags)
"Return an alist from tags to queries to display in the all-tags section."
(mapcar (lambda (tag)
- (cons tag (format "tag:%s" tag)))
+ (cons tag (concat "tag:" (notmuch-escape-boolean-term tag))))
(notmuch-remove-if-not
(lambda (tag)
(not (member tag hide-tags)))