(gnus-agent-regenerate-group): Activate the group when the group's active is
authorKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 17 Mar 2004 07:31:35 +0000 (07:31 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 17 Mar 2004 07:31:35 +0000 (07:31 +0000)
 not available.

lisp/ChangeLog
lisp/gnus-agent.el

index f4ea126..2724906 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-17  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-agent.el (gnus-agent-regenerate-group): Activate the group
+       when the group's active is not available.
+
 2004-03-15  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus-agent.el (gnus-agent-read-agentview): Add a missing arg to
index e1786ca..c5e8817 100644 (file)
@@ -3634,7 +3634,8 @@ entry of article %s deleted." l1))
               ;; recalculate the number of unread articles in the group
 
               (let ((group (gnus-group-real-name group))
-                    (group-active (gnus-active group)))
+                    (group-active (or (gnus-active group)
+                                     (gnus-activate-group group))))
                 (gnus-agent-possibly-alter-active group group-active)))))
 
         (when (and reread gnus-agent-article-alist)