]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-message.el
emacs: add notmuch-before- and notmuch-after-tag-hook
[notmuch] / emacs / notmuch-message.el
index d5c96c2b43ec967f5e5c768cb7babbd95ef7765d..aefd3fbc7a5c3d7f53a9be1942f5c2bc142d8df9 100644 (file)
@@ -44,8 +44,7 @@ the \"inbox\" and \"todo\", you would set
                                 (concat "+" str)
                               str))
                          notmuch-message-replied-tags)))
-       (apply 'notmuch-call-notmuch-process "tag"
-              (append tags (list (concat "id:" (car (car rep)))) nil))))))
+       (apply 'notmuch-tag (concat "id:" (car (car rep))) tags)))))
 
 (add-hook 'message-send-hook 'notmuch-message-mark-replied)