Add sanity check for Gnus groups that belong to no topic
* lisp/gnus/gnus-topic.el (gnus-topic-change-level): Do not change gnus-topic-alist when group is outside "topology" (bug#43582).
This commit is contained in:
parent
897ea41d39
commit
5df652d614
1 changed files with 1 additions and 3 deletions
|
@ -897,9 +897,7 @@ articles in the topic and its subtopics."
|
|||
(let ((inhibit-read-only t))
|
||||
(unless gnus-topic-inhibit-change-level
|
||||
(gnus-group-goto-group (or (car (nth 1 previous)) group))
|
||||
(when (and gnus-topic-mode
|
||||
gnus-topic-alist
|
||||
(not gnus-topic-inhibit-change-level))
|
||||
(when (and gnus-topic-mode gnus-topic-alist (gnus-current-topic))
|
||||
;; Remove the group from the topics.
|
||||
(if (and (< oldlevel gnus-level-zombie)
|
||||
(>= level gnus-level-zombie))
|
||||
|
|
Loading…
Add table
Reference in a new issue