diff options
author | Ingo Lohmar <i.lohmar@gmail.com> | 2012-06-03 21:23:57 +0300 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-07-24 09:01:26 -0300 |
commit | bcdfff4f3a7a373851f08b22b56c58a25370b1fe (patch) | |
tree | 84794a43f5593a7b4b236233e1bad5db48a41795 | |
parent | 39beeb2a7e0e61fe2a5983e7eef9efec78e1279e (diff) |
emacs: Fix notmuch-message-mark-replied.
notmuch-message-mark-replied used "apply" to change message tags
according to notmuch-message-replied-tags after sending a reply. This
works if the latter is a single-element list. But with the recently
changed format of tag changes, it breaks for multiple-element lists.
Use "funcall" to properly pass the list of tag changes as a single
argument.
-rw-r--r-- | emacs/notmuch-message.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-message.el b/emacs/notmuch-message.el index 5964caa..d3738bf 100644 --- a/emacs/notmuch-message.el +++ b/emacs/notmuch-message.el @@ -45,7 +45,7 @@ the \"inbox\" and \"todo\", you would set (concat "+" str) str)) notmuch-message-replied-tags))) - (apply 'notmuch-tag (notmuch-id-to-query (car (car rep))) tags))))) + (funcall 'notmuch-tag (notmuch-id-to-query (car (car rep))) tags))))) (add-hook 'message-send-hook 'notmuch-message-mark-replied) |