mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-26 03:14:51 +01:00
Fix wrong-type-argument lisp error in `notmuch-fcc-header-setup'
This error occurs when `notmuch-fcc-dirs' is set to a list. The error
was in the `notmuch-fcc-dirs' format check which was changed in an
incompatible way from 0.4 to 0.5.
The fix was extracted from a bigger patch series by David
Edmondson id:"1290682750-30283-2-git-send-email-dme@dme.org".
Signed-off-by: Jameson Graef Rollins <jrollins@finestructure.net>
(cherry picked from commit ce08571428
)
This commit is contained in:
parent
72d70ec60f
commit
d012827890
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ will NOT be removed or replaced."
|
|||
notmuch-fcc-dirs)
|
||||
|
||||
((and (listp notmuch-fcc-dirs)
|
||||
(= 1 (length (car notmuch-fcc-dirs))))
|
||||
(stringp (car notmuch-fcc-dirs)))
|
||||
;; Old style - no longer works.
|
||||
(error "Invalid `notmuch-fcc-dirs' setting (old style)"))
|
||||
|
||||
|
|
Loading…
Reference in a new issue