changeset 110207:73e771a95111

gnus-start.el (gnus-method-rank): Get info for virtual groups last.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Sun, 05 Sep 2010 23:13:43 +0000
parents d6519fa0a5a7
children 7e0143c80273
files lisp/gnus/ChangeLog lisp/gnus/gnus-start.el
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Sun Sep 05 23:40:57 2010 +0100
+++ b/lisp/gnus/ChangeLog	Sun Sep 05 23:13:43 2010 +0000
@@ -1,3 +1,7 @@
+2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+	* gnus-start.el (gnus-method-rank): Get info for virtual groups last.
+
 2010-09-05  Katsumi Yamaoka  <yamaoka@jpl.org>
 
 	* gnus-start.el (gnus-method-rank): Replace equalp with equal.
--- a/lisp/gnus/gnus-start.el	Sun Sep 05 23:40:57 2010 +0100
+++ b/lisp/gnus/gnus-start.el	Sun Sep 05 23:13:43 2010 +0000
@@ -1764,6 +1764,9 @@
 
 (defun gnus-method-rank (type method)
   (cond
+   ;; Get info for virtual groups last.
+   ((eq (car method) 'nnvirtual)
+    200)
    ((eq type 'primary)
     1)
    ;; Compute the rank of the secondary methods based on where they