Clear gnus-group-list when the newsrc-hashtb is recreated

* lisp/gnus/gnus-start.el (gnus-make-hashtable-from-newsrc-alist):
  This routine also happens when re-sorting groups; make sure we're
  clearing the group list.
This commit is contained in:
Eric Abrahamsen 2019-04-19 10:23:19 -07:00
parent 0b4b380ce4
commit a33308a297

View file

@ -1819,7 +1819,8 @@ The info element is shared with the same element of
(let ((alist gnus-newsrc-alist)
(ohashtb gnus-newsrc-hashtb)
info method gname rest methods)
(setq gnus-newsrc-hashtb (gnus-make-hashtable (length alist)))
(setq gnus-newsrc-hashtb (gnus-make-hashtable (length alist))
gnus-group-list nil)
(setq alist
(setq gnus-newsrc-alist
(if (equal (caar gnus-newsrc-alist)