]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-maildir-fcc.el
Fix wrong-type-argument lisp error in `notmuch-fcc-header-setup'
[notmuch] / emacs / notmuch-maildir-fcc.el
index aede753702d01e8d2de62984690d676824cffce2..b6c6e2a74086fe566db37e56fde3cc5b1a8f2b2d 100644 (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)"))