mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Keep the gnus active range current while getting articles
* lisp/gnus/gnus-group.el (gnus-group-get-new-news-this-group): * lisp/gnus/gnus-group.el (gnus-get-unread-articles-in-group): Update the current value of the active range since it might have changed.
This commit is contained in:
parent
cf7860c383
commit
9545869aac
2 changed files with 4 additions and 2 deletions
|
|
@ -4195,7 +4195,8 @@ If DONT-SCAN is non-nil, scan non-activated groups as well."
|
|||
(let ((info (gnus-get-info group))
|
||||
(active (gnus-active group)))
|
||||
(when info
|
||||
(gnus-request-update-info info method))
|
||||
(gnus-request-update-info info method)
|
||||
(setq active (gnus-active group)))
|
||||
(gnus-get-unread-articles-in-group info active)
|
||||
(unless (gnus-virtual-group-p group)
|
||||
(gnus-close-group group))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue