aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorDave Love <[email protected]>2000-11-08 23:28:41 +0000
committerDave Love <[email protected]>2000-11-08 23:28:41 +0000
commit7cd26120b6b26d7bf58c316c73b107db0643ceb8 (patch)
tree77b90a98b152ba7d4526f4da9b3273ee6e8812c8 /lisp
parent2e36fdceb36ef8dd0dca1132500f183a829eea40 (diff)
2000-10-11 John Wiegley <[email protected]>
* 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!
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/gnus-topic.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-topic.el b/lisp/gnus/gnus-topic.el
index 35324395bb..4b22a4d784 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))