From: Lars Ingebrigtsen Date: Sat, 28 Dec 2019 00:45:12 +0000 (+0100) Subject: Fix recent gnus-start.el breakage X-Git-Tag: emacs-28.0.90~7924 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e1fd6b1107179270b6daeab52053ffb2461531a9;p=emacs.git Fix recent gnus-start.el breakage * 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) --- diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el index 784a4e4195f..773b952669a 100644 --- a/lisp/gnus/gnus-start.el +++ b/lisp/gnus/gnus-start.el @@ -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'.