From: yamaoka Date: Wed, 17 Mar 2004 07:32:11 +0000 (+0000) Subject: Synch to No Gnus 200403170731. X-Git-Tag: t-gnus-6_17_4-quimby-~1011 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=f536bded1b6047fbd49a4452e2ef09b0b6c8a2a1;p=elisp%2Fgnus.git- Synch to No Gnus 200403170731. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f4ea126..2724906 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2004-03-17 Katsumi Yamaoka + + * gnus-agent.el (gnus-agent-regenerate-group): Activate the group + when the group's active is not available. + 2004-03-15 Katsumi Yamaoka * gnus-agent.el (gnus-agent-read-agentview): Add a missing arg to diff --git a/lisp/gnus-agent.el b/lisp/gnus-agent.el index bafe462..18e3157 100644 --- a/lisp/gnus-agent.el +++ b/lisp/gnus-agent.el @@ -3649,7 +3649,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)