Do a `gnus-request-scan' for the methods that support -retrieve-groups, too.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Mon, 6 Sep 2010 15:28:15 +0000 (17:28 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Mon, 6 Sep 2010 15:28:15 +0000 (17:28 +0200)
lisp/ChangeLog
lisp/gnus-start.el

index 5b5a0dd..9501d26 100644 (file)
@@ -1,5 +1,8 @@
 2010-09-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan'
+       for the methods that support -retrieve-groups, too.
+
        * nnml.el (nnml-save-nov): Remove some debugging-related messages.
 
 2010-09-06  Katsumi Yamaoka  <yamaoka@jpl.org>
index 3bdcb05..a349475 100644 (file)
@@ -1792,6 +1792,8 @@ If SCAN, request a scan of that group as well."
   (with-current-buffer nntp-server-buffer
     (cond
      ((gnus-check-backend-function 'retrieve-groups (car method))
+      (when (gnus-check-backend-function 'request-scan (car method))
+       (gnus-request-scan nil method))
       (gnus-read-active-file-2
        (mapcar (lambda (info)
                 (gnus-group-real-name (gnus-info-group info)))