]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-message.el
emacs: fix notmuch-message-replied-tags defcustom type
[notmuch] / emacs / notmuch-message.el
index 5964caa3ce5b945d8c4aa2182889ef0f100ce069..3798046eb7c84c5ecedc204a984a4cb43fc72e5f 100644 (file)
@@ -31,7 +31,7 @@ if it is prefaced with a \"-\", removed.
 For example, if you wanted to add a \"replied\" tag and remove
 the \"inbox\" and \"todo\", you would set
     (\"replied\" \"-inbox\" \"-todo\"\)"
-  :type 'list
+  :type '(repeat string)
   :group 'notmuch-send)
 
 (defun notmuch-message-mark-replied ()
@@ -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)