2001-07-23 Katsumi Yamaoka <yamaoka@jpl.org>
authorShengHuo ZHU <zsh@cs.rochester.edu>
Mon, 23 Jul 2001 18:10:19 +0000 (18:10 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Mon, 23 Jul 2001 18:10:19 +0000 (18:10 +0000)
* gnus-start.el (gnus-setup-news): Call
`gnus-check-bogus-newsgroups' just after the native server is
opened.

lisp/ChangeLog
lisp/gnus-start.el

index f8b9faa..c5b4a0f 100644 (file)
@@ -1,3 +1,9 @@
+2001-07-23  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-start.el (gnus-setup-news): Call
+       `gnus-check-bogus-newsgroups' just after the native server is
+       opened.
+       
 2001-07-23  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
 
        * nnmail.el (nnmail-do-request-post): Util function to be used by
index ddc2dde..2a93dd4 100644 (file)
@@ -951,6 +951,12 @@ If LEVEL is non-nil, the news will be set up at level LEVEL."
               gnus-plugged)
       (gnus-find-new-newsgroups))
 
+    ;; Check and remove bogus newsgroups.
+    (when (and init gnus-check-bogus-newsgroups
+              gnus-read-active-file (not level)
+              (gnus-server-opened gnus-select-method))
+      (gnus-check-bogus-newsgroups))
+
     ;; We might read in new NoCeM messages here.
     (when (and gnus-use-nocem
               (not level)
@@ -962,12 +968,7 @@ If LEVEL is non-nil, the news will be set up at level LEVEL."
 
     ;; Find the number of unread articles in each non-dead group.
     (let ((gnus-read-active-file (and (not level) gnus-read-active-file)))
-      (gnus-get-unread-articles level))
-
-    (when (and init gnus-check-bogus-newsgroups
-              gnus-read-active-file (not level)
-              (gnus-server-opened gnus-select-method))
-      (gnus-check-bogus-newsgroups))))
+      (gnus-get-unread-articles level))))
 
 (defun gnus-call-subscribe-functions (method group)
   "Call METHOD to subscribe GROUP.