# HG changeset patch # User Lute Kamstra # Date 1109149994 0 # Node ID 77336d5f9a37ef2a162a9bd3f8910dfc532ee6f9 # Parent faf41d60cccbac8dfa8d1033c9a83eca94cdb75b (Defining Minor Modes): define-minor-mode can be used to define global minor modes as well. diff -r faf41d60cccb -r 77336d5f9a37 lispref/modes.texi --- a/lispref/modes.texi Wed Feb 23 08:58:14 2005 +0000 +++ b/lispref/modes.texi Wed Feb 23 09:13:14 2005 +0000 @@ -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 @@ @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