From b235850f9be663e91a44a244c0c5979d95e4213e Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Fri, 26 Oct 2012 16:18:11 -0400 Subject: [PATCH] emacs: Escape tag queries performed by hello --- emacs/notmuch-hello.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- 2.26.2