diff options
author | Austin Clements <amdragon@MIT.EDU> | 2012-10-26 16:18:12 -0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-10-27 09:34:34 -0300 |
commit | 0a4663ff43c563ebe25234afb0ae012bc2c42959 (patch) | |
tree | 5bb2d1398e753320ec8203153accc380095d3e3c /emacs | |
parent | b235850f9be663e91a44a244c0c5979d95e4213e (diff) |
emacs: Escape tag queries suggested by tab completion
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/notmuch.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el index a8a85ce7..60e8bf95 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -917,7 +917,7 @@ PROMPT is the string to prompt with." (append (list "folder:" "thread:" "id:" "date:" "from:" "to:" "subject:" "attachment:") (mapcar (lambda (tag) - (concat "tag:" tag)) + (concat "tag:" (notmuch-escape-boolean-term tag))) (process-lines notmuch-command "search" "--output=tags" "*"))))) (let ((keymap (copy-keymap minibuffer-local-map)) (minibuffer-completion-table |