X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-maildir-fcc.el;h=d9a8f9b6c258d2ca3db3c37a85a31fb9bf8d988c;hb=b749bd5390ce8b478de202495574c441dd875edf;hp=8af6f009e4289afa767b4ba05ab6f709ccca5eb4;hpb=173a195da97613bf25efbc248e27305ea23de70c;p=notmuch diff --git a/emacs/notmuch-maildir-fcc.el b/emacs/notmuch-maildir-fcc.el index 8af6f009..d9a8f9b6 100644 --- a/emacs/notmuch-maildir-fcc.el +++ b/emacs/notmuch-maildir-fcc.el @@ -47,7 +47,6 @@ (defun notmuch-fcc-initialization () "If notmuch-fcc-directories is set, hook them into the message-fcc-handler-function" -(if (not (eq notmuch-fcc-dirs nil)) (progn ;Set up the message-fcc-handler to move mails to the maildir in Fcc ;The parameter is hardcoded to mark messages as "seen" (setq message-fcc-handler-function @@ -57,7 +56,7 @@ ;(preferrably we would use message-header-setup-up, but notmuch-reply ; munges headers after that is run, so it won't work for replies within ; notmuch) - (add-hook 'message-send-hook 'notmuch-fcc-header-setup)))) + (add-hook 'message-send-hook 'notmuch-fcc-header-setup)) (defun notmuch-fcc-header-setup () "Can be added to message-send-hook and will set the FCC header