From 7cd26120b6b26d7bf58c316c73b107db0643ceb8 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 8 Nov 2000 23:28:41 +0000 Subject: 2000-10-11 John Wiegley * gnus-topic.el (gnus-topic-mode): Use `setq' to clear `gnus-group-change-level-function', instead of `remove-hook', because it's not a hook! --- lisp/gnus/gnus-topic.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lisp') diff --git a/lisp/gnus/gnus-topic.el b/lisp/gnus/gnus-topic.el index 35324395bb..4b22a4d784 100644 --- a/lisp/gnus/gnus-topic.el +++ b/lisp/gnus/gnus-topic.el @@ -1060,8 +1060,7 @@ articles in the topic and its subtopics." ;; Remove topic infestation. (unless gnus-topic-mode (remove-hook 'gnus-summary-exit-hook 'gnus-topic-update-topic) - (remove-hook 'gnus-group-change-level-function - 'gnus-topic-change-level) + (setq gnus-group-change-level-function nil) (remove-hook 'gnus-check-bogus-groups-hook 'gnus-topic-clean-alist) (setq gnus-group-prepare-function 'gnus-group-prepare-flat) (setq gnus-group-sort-alist-function 'gnus-group-sort-flat)) -- cgit v1.2.3