# HG changeset patch # User Dave Love # Date 973726121 0 # Node ID bea963b6e5391da7207723dd138d0ee9162568ab # Parent 0ca2ddcb4da5d728418c8f2ea223aebc03a9187b 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 -r 0ca2ddcb4da5 -r bea963b6e539 lisp/gnus/gnus-topic.el --- a/lisp/gnus/gnus-topic.el Wed Nov 08 23:19:00 2000 +0000 +++ b/lisp/gnus/gnus-topic.el Wed Nov 08 23:28:41 2000 +0000 @@ -1060,8 +1060,7 @@ ;; 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))