diff options
author | Dmitry Kurochkin <dmitry.kurochkin@gmail.com> | 2011-05-28 14:51:49 -0700 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-06-23 22:00:17 -0300 |
commit | d012827890e6991d448ff3db7e92205cb2522b0d (patch) | |
tree | 8390e9ded113115ed90719a28f1cea6aab64ade6 /emacs | |
parent | 72d70ec60f1c1041787cc7afa6109103e045d111 (diff) |
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 ce08571428dc784e279b28527f8073a1a05d7c37)
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/notmuch-maildir-fcc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-maildir-fcc.el b/emacs/notmuch-maildir-fcc.el index aede7537..b6c6e2a7 100644 --- a/emacs/notmuch-maildir-fcc.el +++ b/emacs/notmuch-maildir-fcc.el @@ -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)")) |