1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-01 10:41:57 -07:00

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!
This commit is contained in:
Dave Love 2000-11-08 23:28:41 +00:00
parent 2e36fdceb3
commit 7cd26120b6

View 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))