X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-maildir-fcc.el;h=64f60bc62bee9a23989da3104765831c19b89068;hb=2b49f4631c8a7d829f64a65de099e7304c1dd9a8;hp=91c174c7a0afcf9ae644e3180a642f6e9bf7d5d2;hpb=4b34effca5a7dcde66737ab62f64d9d76213209a;p=notmuch diff --git a/emacs/notmuch-maildir-fcc.el b/emacs/notmuch-maildir-fcc.el index 91c174c7..64f60bc6 100644 --- a/emacs/notmuch-maildir-fcc.el +++ b/emacs/notmuch-maildir-fcc.el @@ -111,8 +111,8 @@ if successful, nil if not." (write-file (concat destdir "/tmp/" msg-id)) msg-id) (t - (message (format "Can't write to %s. Not a maildir." - destdir)) + (error (format "Can't write to %s. Not a maildir." + destdir)) nil)))) (defun notmuch-maildir-fcc-move-tmp-to-new (destdir msg-id)