mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-01-03 15:21:41 +01:00
emacs: Fix to generate error if fcc directory is not a maildir
Previously this was just a message that was almost impossible for the user to see. Now, the user gets to see the error message, and is presented with a buffer that actually contains the Fcc header of interest.
This commit is contained in:
parent
932e1c165c
commit
2b49f4631c
1 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ 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."
|
||||
(error (format "Can't write to %s. Not a maildir."
|
||||
destdir))
|
||||
nil))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue