diff options
author | Dave Love <fx@gnu.org> | 2000-11-08 23:28:41 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2000-11-08 23:28:41 +0000 |
commit | 7cd26120b6b26d7bf58c316c73b107db0643ceb8 (patch) | |
tree | 77b90a98b152ba7d4526f4da9b3273ee6e8812c8 /lisp/gnus/gnus-topic.el | |
parent | 2e36fdceb36ef8dd0dca1132500f183a829eea40 (diff) | |
download | emacs-7cd26120b6b26d7bf58c316c73b107db0643ceb8.tar.gz |
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!
Diffstat (limited to 'lisp/gnus/gnus-topic.el')
-rw-r--r-- | lisp/gnus/gnus-topic.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-topic.el b/lisp/gnus/gnus-topic.el index 35324395bb7..4b22a4d7840 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)) |