From: Lute Kamstra Date: Wed, 23 Feb 2005 09:13:14 +0000 (+0000) Subject: (Defining Minor Modes): define-minor-mode can be used to define global X-Git-Tag: ttn-vms-21-2-B4~2148 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8dc811d38a0a1fe870c7a4c43993a040aeb75cf6;p=emacs.git (Defining Minor Modes): define-minor-mode can be used to define global minor modes as well. --- diff --git a/lispref/modes.texi b/lispref/modes.texi index d3f12d158b7..62f152e1d41 100644 --- a/lispref/modes.texi +++ b/lispref/modes.texi @@ -1,7 +1,7 @@ @c -*-texinfo-*- @c This is part of the GNU Emacs Lisp Reference Manual. -@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2003, 2004 -@c Free Software Foundation, Inc. +@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, +@c 2003, 2004, 2005 Free Software Foundation, Inc. @c See the file elisp.texi for copying conditions. @setfilename ../info/modes @node Modes, Documentation, Keymaps, Top @@ -1098,8 +1098,7 @@ characters are reserved for major modes.) @subsection Defining Minor Modes The macro @code{define-minor-mode} offers a convenient way of -implementing a mode in one self-contained definition. It supports only -buffer-local minor modes, not global ones. +implementing a mode in one self-contained definition. @defmac define-minor-mode mode doc [init-value [lighter [keymap keyword-args... body...]]] @tindex define-minor-mode