(nnmail-article-group): Allow a final "" split to work on nnimap.
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 23 Feb 2011 08:31:08 +0000 (00:31 -0800)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 23 Feb 2011 08:31:08 +0000 (00:31 -0800)
lisp/ChangeLog
lisp/nnmail.el

index 1d0cb7d..f65f5b1 100644 (file)
@@ -1,5 +1,8 @@
 2011-02-23  Lars Ingebrigtsen  <larsi@gnus.org>
 
+       * nnmail.el (nnmail-article-group): Allow a final "" split to work on
+       nnimap.
+
        * gnus-sum.el (gnus-user-date-format-alist): Renamed back again from
        -summary- since it's a user-visible variable.
 
index b2336e1..8906a03 100644 (file)
@@ -1215,7 +1215,8 @@ FUNC will be called with the group name to determine the article number."
              ;; This is the final group, which is used as a
              ;; catch-all.
              (when (and (not group-art)
-                        (not nnmail-inhibit-default-split-group))
+                        (or (equal "" (nth 1 method))
+                            (not nnmail-inhibit-default-split-group)))
                (setq group-art
                      (list (cons (car method)
                                  (funcall func (car method))))))))