]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-message.el
emacs: Escape all message ID queries
[notmuch] / emacs / notmuch-message.el
index 264a5b9b496f483df94e0dde844b7d926712a6e2..301028154734009e409f4b5a9f6a48bfba337cf6 100644 (file)
@@ -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)