diff lisp/gnus/gnus-topic.el @ 33326:bea963b6e539

2000-10-11 John Wiegley <johnw@gnu.org> * 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!
author Dave Love <fx@gnu.org>
date Wed, 08 Nov 2000 23:28:41 +0000
parents 51cea22fd2aa
children 6c93e7d6a930
line wrap: on
line diff
--- 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))