* gnus-start.el (gnus-get-unread-articles): Fix the call to methods that have no...
authorAdam Sjøgren <asjo@koldfront.dk>
Thu, 3 Feb 2011 19:49:30 +0000 (11:49 -0800)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 3 Feb 2011 19:49:30 +0000 (11:49 -0800)
lisp/ChangeLog
lisp/gnus-start.el

index b70c9ac..f2eccd6 100644 (file)
@@ -1,3 +1,8 @@
+2011-02-03  Adam Sjøgren  <asjo@koldfront.dk>
+
+       * gnus-start.el (gnus-get-unread-articles): Fix the call to methods
+       that have no groups.
+
 2011-02-03  Julien Danjou  <julien@danjou.info>
 
        * gnus-draft.el: Remove progn around gnus-draft-setup.
index 933e7d0..b8a6be8 100644 (file)
@@ -1711,7 +1711,8 @@ If SCAN, request a scan of that group as well."
                          gnus-secondary-select-methods))
       (when (and (not (assoc method type-cache))
                 (gnus-check-backend-function 'request-list (car method)))
-       (gnus-read-active-file-1 method nil)))
+       (with-current-buffer nntp-server-buffer
+         (gnus-read-active-file-1 method nil))))
 
     ;; Do the rest of the retrieval.
     (dolist (elem type-cache)