From 88fe5b506efc230cbf172389844502dcc33d98c6 Mon Sep 17 00:00:00 2001 From: dickmao Date: Wed, 23 Sep 2020 17:15:09 -0400 Subject: [PATCH] Bad things happen when applying topic changes to topicless groups * lisp/gnus/gnus-topic.el (gnus-topic-change-level): Do not change gnus-topic-alist when group is outside "toplogy." --- lisp/gnus/gnus-topic.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/gnus/gnus-topic.el b/lisp/gnus/gnus-topic.el index ffd26bb30f..c913002f70 100644 --- a/lisp/gnus/gnus-topic.el +++ b/lisp/gnus/gnus-topic.el @@ -897,9 +897,7 @@ gnus-topic-change-level (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)) -- 2.26.2