summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-topic.el
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2005-07-14 05:45:24 +0000
committerMiles Bader <miles@gnu.org>2005-07-14 05:45:24 +0000
commit722c4b9447b536d66410cc001c07fb299018d9af (patch)
tree89649b5cf4a8d4cbba01da1da87e8cd1d8a6063c /lisp/gnus/gnus-topic.el
parent49fe7e347583e39a366df6118b1f44b7bf438eba (diff)
downloademacs-722c4b9447b536d66410cc001c07fb299018d9af.tar.gz
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-484
Merge from gnus--rel--5.10 Patches applied: * gnus--rel--5.10 (patch 88-91) - Merge from emacs--cvs-trunk--0 - Update FSF's address in GPL notices - Update from CVS 2005-07-13 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/gnus-salt.el (gnus-pick-mode): Remove the 5th arg of gnus-add-minor-mode. (gnus-binary-mode): Ditto. * lisp/gnus/gnus-topic.el (gnus-topic-mode): Ditto.
Diffstat (limited to 'lisp/gnus/gnus-topic.el')
-rw-r--r--lisp/gnus/gnus-topic.el9
1 files changed, 3 insertions, 6 deletions
diff --git a/lisp/gnus/gnus-topic.el b/lisp/gnus/gnus-topic.el
index 95a2e1ad56a..3b2bfacddb0 100644
--- a/lisp/gnus/gnus-topic.el
+++ b/lisp/gnus/gnus-topic.el
@@ -1,6 +1,6 @@
;;; gnus-topic.el --- a folding minor mode for Gnus group buffers
-;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
-;; Free Software Foundation, Inc.
+;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
+;; 2005 Free Software Foundation, Inc.
;; Author: Ilja Weis <kult@uni-paderborn.de>
;; Lars Magne Ingebrigtsen <larsi@gnus.org>
@@ -1136,10 +1136,7 @@ articles in the topic and its subtopics."
(when (gnus-visual-p 'topic-menu 'menu)
(gnus-topic-make-menu-bar))
(gnus-set-format 'topic t)
- (gnus-add-minor-mode 'gnus-topic-mode " Topic"
- gnus-topic-mode-map nil (lambda (&rest junk)
- (interactive)
- (gnus-topic-mode nil t)))
+ (gnus-add-minor-mode 'gnus-topic-mode " Topic" gnus-topic-mode-map)
(add-hook 'gnus-group-catchup-group-hook 'gnus-topic-update-topic)
(set (make-local-variable 'gnus-group-prepare-function)
'gnus-group-prepare-topics)