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>
This commit is contained in:
Dmitry Kurochkin 2011-05-28 14:51:49 -07:00 committed by Carl Worth
parent 76b54f1898
commit ce08571428

View file

@ -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)"))