From: Eric Abrahamsen Date: Fri, 19 Apr 2019 17:23:19 +0000 (-0700) Subject: Clear gnus-group-list when the newsrc-hashtb is recreated X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~3586 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a33308a297125e7e804ebafb7d942c10aaa2c3c1;p=emacs.git 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. --- diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el index 606155d741d..2f8a260bf13 100644 --- a/lisp/gnus/gnus-start.el +++ b/lisp/gnus/gnus-start.el @@ -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)