Commit 46eb6df4 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Put new Gnus groups in the completion table

* lisp/gnus/gnus-start.el (gnus-group-change-level): Ensure that
all new groups are in gnus-active-hashtb so that they can be
completed to.
parent e8db2f51
Pipeline #3365 passed with stage
in 63 minutes and 1 second
......@@ -1269,6 +1269,10 @@ string name) to insert this group before."
(consp entry))
(setq oldlevel (gnus-info-level (nth 1 entry)))
(setq oldlevel (or oldlevel gnus-level-killed)))
;; This table is used for completion, so put a dummy entry there.
(unless (gethash group gnus-active-hashtb)
(setf (gethash group gnus-active-hashtb) nil))
;; Group is already subscribed.
(unless (and (>= oldlevel gnus-level-zombie)
(gnus-group-entry group))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment