X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-message.el;h=55e4cfee98cee93cc2e6f06591f0bad81b7cc1ca;hp=4dc48832f1412ec4a1dfd41fcee64b7f70a06549;hb=e1b7d32db00ea8afaa1f2ae31bdaa5cb423dda96;hpb=2590d94bf0a1fc359b3b5463d4054d350324c891 diff --git a/emacs/notmuch-message.el b/emacs/notmuch-message.el index 4dc48832..55e4cfee 100644 --- a/emacs/notmuch-message.el +++ b/emacs/notmuch-message.el @@ -1,4 +1,4 @@ -;; notmuch-message.el --- message-mode functions specific to notmuch +;;; notmuch-message.el --- message-mode functions specific to notmuch ;; ;; Copyright © Jesse Rosenthal ;; @@ -15,10 +15,12 @@ ;; General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with Notmuch. If not, see . +;; along with Notmuch. If not, see . ;; ;; Authors: Jesse Rosenthal +;;; Code: + (require 'message) (require 'notmuch-tag) (require 'notmuch-mua) @@ -40,9 +42,11 @@ the \"inbox\" and \"todo\" tags, you would set: ;; get the in-reply-to header and parse it for the message id. (let ((rep (mail-header-parse-addresses (message-field-value "In-Reply-To")))) (when (and notmuch-message-replied-tags rep) - (funcall 'notmuch-tag (notmuch-id-to-query (car (car rep))) + (notmuch-tag (notmuch-id-to-query (car (car rep))) (notmuch-tag-change-list notmuch-message-replied-tags))))) (add-hook 'message-send-hook 'notmuch-message-mark-replied) (provide 'notmuch-message) + +;;; notmuch-message.el ends here