emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master a33308a: Clear gnus-group-list when the newsrc-hash


From: Eric Abrahamsen
Subject: [Emacs-diffs] master a33308a: Clear gnus-group-list when the newsrc-hashtb is recreated
Date: Fri, 19 Apr 2019 14:22:02 -0400 (EDT)

branch: master
commit a33308a297125e7e804ebafb7d942c10aaa2c3c1
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>

    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.
---
 lisp/gnus/gnus-start.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el
index 606155d..2f8a260 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]