]> git.eshelyaron.com Git - emacs.git/commitdiff
Clear gnus-group-list when the newsrc-hashtb is recreated
authorEric Abrahamsen <eric@ericabrahamsen.net>
Fri, 19 Apr 2019 17:23:19 +0000 (10:23 -0700)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Fri, 19 Apr 2019 18:21:55 +0000 (11:21 -0700)
* 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.

lisp/gnus/gnus-start.el

index 606155d741de88906857cb80eb370277669a3bc5..2f8a260bf13fc4b1ac1ffb0f9d983b364ee2a72b 100644 (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)