(gnus-group-get-new-news-this-group): Don't
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 29 Jun 2004 21:38:03 +0000 (21:38 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 29 Jun 2004 21:38:03 +0000 (21:38 +0000)
update info that isn't there.

lisp/ChangeLog
lisp/gnus-group.el

index c7909d4..65ef1a6 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-group.el (gnus-group-get-new-news-this-group): Don't
+       update info that isn't there.
+
 2004-06-29  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * mm-view.el (mm-inline-render-with-function): Use multibyte
index e6c00ea..2055647 100644 (file)
@@ -3642,7 +3642,8 @@ If DONT-SCAN is non-nil, scan non-activated groups as well."
       (if (gnus-activate-group group (if dont-scan nil 'scan) nil method)
          (let ((info (gnus-get-info group))
                (active (gnus-active group)))
-           (gnus-request-update-info info method)
+           (when info
+             (gnus-request-update-info info method))
            (gnus-get-unread-articles-in-group info active)
            (unless (gnus-virtual-group-p group)
              (gnus-close-group group))