aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-11-08 23:28:41 +0000
committerDave Love2000-11-08 23:28:41 +0000
commit7cd26120b6b26d7bf58c316c73b107db0643ceb8 (patch)
tree77b90a98b152ba7d4526f4da9b3273ee6e8812c8
parent2e36fdceb36ef8dd0dca1132500f183a829eea40 (diff)
downloademacs-7cd26120b6b26d7bf58c316c73b107db0643ceb8.tar.gz
emacs-7cd26120b6b26d7bf58c316c73b107db0643ceb8.zip
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!
-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 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."
1060 ;; Remove topic infestation. 1060 ;; Remove topic infestation.
1061 (unless gnus-topic-mode 1061 (unless gnus-topic-mode
1062 (remove-hook 'gnus-summary-exit-hook 'gnus-topic-update-topic) 1062 (remove-hook 'gnus-summary-exit-hook 'gnus-topic-update-topic)
1063 (remove-hook 'gnus-group-change-level-function 1063 (setq gnus-group-change-level-function nil)
1064 'gnus-topic-change-level)
1065 (remove-hook 'gnus-check-bogus-groups-hook 'gnus-topic-clean-alist) 1064 (remove-hook 'gnus-check-bogus-groups-hook 'gnus-topic-clean-alist)
1066 (setq gnus-group-prepare-function 'gnus-group-prepare-flat) 1065 (setq gnus-group-prepare-function 'gnus-group-prepare-flat)
1067 (setq gnus-group-sort-alist-function 'gnus-group-sort-flat)) 1066 (setq gnus-group-sort-alist-function 'gnus-group-sort-flat))