changeset 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 0ca2ddcb4da5
children 6b5904398ffd
files lisp/gnus/gnus-topic.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
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))