X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-maildir-fcc.el;h=693d8d42bc19bfcd49f2212c646723fd396d96f4;hp=ba22981c20af59f58d814e0b1d1f7f2fd9f650fc;hb=efee51ba756a589998c1894f6574ebe8a6e280d4;hpb=8b6f3e3f458c6ccca49100c5fb224af1aaa2b540 diff --git a/emacs/notmuch-maildir-fcc.el b/emacs/notmuch-maildir-fcc.el index ba22981c..693d8d42 100644 --- a/emacs/notmuch-maildir-fcc.el +++ b/emacs/notmuch-maildir-fcc.el @@ -22,7 +22,7 @@ (defvar notmuch-maildir-fcc-count 0) -(defcustom notmuch-fcc-dirs nil +(defcustom notmuch-fcc-dirs "sent" "Determines the maildir directory to save outgoing mails in. If set to non-nil, this will cause message mode to file your @@ -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