X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-message.el;h=08e5b1749af8e4d11813826f23675f6c6676806a;hb=8392a7cc54c4c08c0abbf2cc2707774f504ec33f;hp=d5c96c2b43ec967f5e5c768cb7babbd95ef7765d;hpb=0adcabc7cf3451eb933b47726a74ea7bbf0c9ff3;p=notmuch diff --git a/emacs/notmuch-message.el b/emacs/notmuch-message.el index d5c96c2b..08e5b174 100644 --- a/emacs/notmuch-message.el +++ b/emacs/notmuch-message.el @@ -39,13 +39,12 @@ the \"inbox\" and \"todo\", you would set (when (and notmuch-message-replied-tags rep) ;; add a "+" to any tag that is doesn't already begin with a "+" ;; or "-" - (let ((tags (mapcar '(lambda (str) - (if (not (string-match "^[+-]" str)) - (concat "+" str) - str)) + (let ((tags (mapcar (lambda (str) + (if (not (string-match "^[+-]" str)) + (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)