diff options
| author | Lars Ingebrigtsen | 2019-12-28 01:45:12 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-12-28 01:47:15 +0100 |
| commit | e1fd6b1107179270b6daeab52053ffb2461531a9 (patch) | |
| tree | 2cd91974d19913499cb24d4b8d8b255976c27b21 | |
| parent | 07437c73e43486346750ecab77a1e4328676e0a4 (diff) | |
| download | emacs-e1fd6b1107179270b6daeab52053ffb2461531a9.tar.gz emacs-e1fd6b1107179270b6daeab52053ffb2461531a9.zip | |
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)
| -rw-r--r-- | lisp/gnus/gnus-start.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 1333 | (let ((method (gnus-method-simplify | 1333 | (let ((method (gnus-method-simplify |
| 1334 | (or gnus-override-subscribe-method | 1334 | (or gnus-override-subscribe-method |
| 1335 | (gnus-group-method group))))) | 1335 | (gnus-group-method group))))) |
| 1336 | (gnus-info-make group level nil nil method))) | 1336 | (setq info (gnus-info-make group level nil nil method)))) |
| 1337 | ;; Add group. The exact ordering only matters for | 1337 | ;; Add group. The exact ordering only matters for |
| 1338 | ;; `gnus-group-list', though we need to keep the dummy group | 1338 | ;; `gnus-group-list', though we need to keep the dummy group |
| 1339 | ;; at the head of `gnus-newsrc-alist'. | 1339 | ;; at the head of `gnus-newsrc-alist'. |