]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix recent gnus-start.el breakage
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 28 Dec 2019 00:45:12 +0000 (01:45 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 28 Dec 2019 00:47:15 +0000 (01:47 +0100)
* lisp/gnus/gnus-start.el (gnus-group-change-level): Fix previous
patch that made info nil when adding new groups (thereby making
gnus-newsrc-alist invalid).

(cherry picked from commit 3434ac67b9ec6b1d19f1c5ebb7d23b0b62dadac9)

lisp/gnus/gnus-start.el

index 784a4e4195f16ac02e84f2634ae1117281341fca..773b952669a0f90e6d157dbb2deb5d57dd70d639 100644 (file)
@@ -1333,7 +1333,7 @@ string name) to insert this group before."
            (let ((method (gnus-method-simplify
                           (or gnus-override-subscribe-method
                               (gnus-group-method group)))))
-             (gnus-info-make group level nil nil method)))
+             (setq info (gnus-info-make group level nil nil method))))
          ;; Add group.  The exact ordering only matters for
          ;; `gnus-group-list', though we need to keep the dummy group
          ;; at the head of `gnus-newsrc-alist'.