aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch-message.el
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2012-03-26 21:37:16 -0400
committerGravatar David Bremner <bremner@debian.org>2012-03-30 21:27:03 -0300
commitee1180018ee3c772d7ac769222ff9c6940f3c838 (patch)
tree65f4426bb2d71c453dbf26a1dfdaaf8fdccafc12 /emacs/notmuch-message.el
parent5ae960fc192ca1a13469986b567abf98901103de (diff)
emacs: Escape all message ID queries
This adds a lib function to turn a message ID into a properly escaped message ID query and uses this function wherever we previously hand-constructed ID queries. Wherever this new function is used, documentation has been clarified to refer to "id: queries" instead of "message IDs". This fixes the broken test introduced by the previous patch.
Diffstat (limited to 'emacs/notmuch-message.el')
-rw-r--r--emacs/notmuch-message.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-message.el b/emacs/notmuch-message.el
index 264a5b9b..30102815 100644
--- a/emacs/notmuch-message.el
+++ b/emacs/notmuch-message.el
@@ -44,7 +44,7 @@ the \"inbox\" and \"todo\", you would set
(concat "+" str)
str))
notmuch-message-replied-tags)))
- (apply 'notmuch-tag (concat "id:" (car (car rep))) tags)))))
+ (apply 'notmuch-tag (notmuch-id-to-query (car (car rep))) tags)))))
(add-hook 'message-send-hook 'notmuch-message-mark-replied)