mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 01:44:52 +01:00
emacs: Escape tag queries performed by hello
This commit is contained in:
parent
1a4cb8fd29
commit
b235850f9b
1 changed files with 1 additions and 1 deletions
|
@ -500,7 +500,7 @@ Complete list of currently available key bindings:
|
||||||
(defun notmuch-hello-generate-tag-alist (&optional hide-tags)
|
(defun notmuch-hello-generate-tag-alist (&optional hide-tags)
|
||||||
"Return an alist from tags to queries to display in the all-tags section."
|
"Return an alist from tags to queries to display in the all-tags section."
|
||||||
(mapcar (lambda (tag)
|
(mapcar (lambda (tag)
|
||||||
(cons tag (format "tag:%s" tag)))
|
(cons tag (concat "tag:" (notmuch-escape-boolean-term tag))))
|
||||||
(notmuch-remove-if-not
|
(notmuch-remove-if-not
|
||||||
(lambda (tag)
|
(lambda (tag)
|
||||||
(not (member tag hide-tags)))
|
(not (member tag hide-tags)))
|
||||||
|
|
Loading…
Reference in a new issue