From: Dave Love Date: Wed, 8 Nov 2000 23:28:41 +0000 (+0000) Subject: 2000-10-11 John Wiegley X-Git-Tag: emacs-pretest-21.0.90~201 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7cd26120b6b26d7bf58c316c73b107db0643ceb8;p=emacs.git 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! --- diff --git a/lisp/gnus/gnus-topic.el b/lisp/gnus/gnus-topic.el index 35324395bb7..4b22a4d7840 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))