From 7920f982949ff41796a9be16e8cce5e797e6caa9 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 30 Jan 2011 03:00:34 +0000 Subject: [PATCH] nnmail.el (nnmail-article-group): A better test for fanciness. --- lisp/gnus/ChangeLog | 1 + lisp/gnus/nnmail.el | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index bfdda731d35..10cf1a02f05 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -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. diff --git a/lisp/gnus/nnmail.el b/lisp/gnus/nnmail.el index a41a5d73344..b2336e13b64 100644 --- a/lisp/gnus/nnmail.el +++ b/lisp/gnus/nnmail.el @@ -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. -- 2.39.5