]> git.eshelyaron.com Git - emacs.git/commitdiff
2000-10-11 John Wiegley <johnw@gnu.org>
authorDave Love <fx@gnu.org>
Wed, 8 Nov 2000 23:28:41 +0000 (23:28 +0000)
committerDave Love <fx@gnu.org>
Wed, 8 Nov 2000 23:28:41 +0000 (23:28 +0000)
* 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

index 35324395bb7b38486723a717f744ea7001f4b62d..4b22a4d78400fe2ce200edac492a12658fdff558 100644 (file)
@@ -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))