X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-message.el;h=5964caa3ce5b945d8c4aa2182889ef0f100ce069;hb=eb8feb16664fd0296ea0e07f4924c2a87a5b3bc3;hp=264a5b9b496f483df94e0dde844b7d926712a6e2;hpb=643ce61c1babf6e73ca7e03fb907282e7ee3b176;p=notmuch diff --git a/emacs/notmuch-message.el b/emacs/notmuch-message.el index 264a5b9b..5964caa3 100644 --- a/emacs/notmuch-message.el +++ b/emacs/notmuch-message.el @@ -20,6 +20,7 @@ ;; Authors: Jesse Rosenthal (require 'message) +(require 'notmuch-tag) (require 'notmuch-mua) (defcustom notmuch-message-replied-tags '("replied") @@ -44,7 +45,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)