X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-maildir-fcc.el;h=693d8d42bc19bfcd49f2212c646723fd396d96f4;hb=d064bd696ccc443a7ece9cfc8816999c69943223;hp=0857ead74a8e022358276994ffee628023989e36;hpb=a3883a7e17171381b8b495ce6efd931c8f420c90;p=notmuch diff --git a/emacs/notmuch-maildir-fcc.el b/emacs/notmuch-maildir-fcc.el index 0857ead7..693d8d42 100644 --- a/emacs/notmuch-maildir-fcc.el +++ b/emacs/notmuch-maildir-fcc.el @@ -68,7 +68,7 @@ '(lambda (destdir) (notmuch-maildir-fcc-write-buffer-to-maildir destdir t))) ;;add a hook to actually insert the Fcc header when sending - (add-hook 'message-send-hook 'notmuch-fcc-header-setup)) + (add-hook 'message-header-setup-hook 'notmuch-fcc-header-setup)) (defun notmuch-fcc-header-setup () "Adds an appropriate fcc header to the current mail buffer