]> git.eshelyaron.com Git - emacs.git/commitdiff
nnmail.el (nnmail-article-group): A better test for fanciness.
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 30 Jan 2011 03:00:34 +0000 (03:00 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Sun, 30 Jan 2011 03:00:34 +0000 (03:00 +0000)
lisp/gnus/ChangeLog
lisp/gnus/nnmail.el

index bfdda731d353f36d0eda9e57cb04dacb078da174..10cf1a02f0586def6b21ad150e483ff253ffac5f 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 a41a5d7334433a254d7b0ebd5f365d504e2d5fe7..b2336e13b643c0ec4ac9958e75d51b86b2a203ff 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.