(nnmail-article-group): A better test for fanciness.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 30 Jan 2011 02:56:21 +0000 (18:56 -0800)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 30 Jan 2011 02:56:21 +0000 (18:56 -0800)
lisp/ChangeLog
lisp/nnmail.el

index 3c37dc9..1dfa6c5 100644 (file)
@@ -2,6 +2,7 @@
 
        * nnmail.el (nnmail-article-group): Check for a direct fancy split
        method.
+       (nnmail-article-group): A better test for fanciness.
 
        * nnimap.el (nnimap-request-head): Protect against not finding the
        article by Message-ID.
index a41a5d7..b2336e1 100644 (file)
@@ -1148,8 +1148,7 @@ FUNC will be called with the group name to determine the article number."
          (setq nnmail-split-trace nil))
        (if (or (and (symbolp nnmail-split-methods)
                     (fboundp nnmail-split-methods))
-               (memq (car-safe nnmail-split-methods)
-                     '(| &))
+               (not (consp (car-safe nnmail-split-methods)))
                (and (listp nnmail-split-methods)
                     ;; Not a regular split method, so it has to be a
                     ;; fancy one.