* define-minor-mode in lispref.
@ 2005-02-21 15:17 Lute Kamstra
2005-02-22 18:11 ` Richard Stallman
0 siblings, 1 reply; 2+ messages in thread
From: Lute Kamstra @ 2005-02-21 15:17 UTC (permalink / raw)
The node Defining Minor Modes in the Lisp Reference Manual states that
defining global minor modes using define-minor-mode is not possible.
Yet later on it explains how to use the keyword :global to do just
that. What about the following change?
Lute.
*** lispref/modes.texi 9 Feb 2005 15:50:36 -0000 1.88
--- lispref/modes.texi 21 Feb 2005 15:09:09 -0000
***************
*** 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 See the file elisp.texi for copying conditions.
@setfilename ../info/modes
@node Modes, Documentation, Keymaps, Top
--- 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,
! @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,1105 ****
@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.
@defmac define-minor-mode mode doc [init-value [lighter [keymap keyword-args... body...]]]
@tindex define-minor-mode
--- 1098,1104 ----
@subsection Defining Minor Modes
The macro @code{define-minor-mode} offers a convenient way of
! 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: define-minor-mode in lispref.
2005-02-21 15:17 define-minor-mode in lispref Lute Kamstra
@ 2005-02-22 18:11 ` Richard Stallman
0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2005-02-22 18:11 UTC (permalink / raw)
Cc: emacs-devel
Please install your change. Thanks for noticing the error.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-22 18:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-21 15:17 define-minor-mode in lispref Lute Kamstra
2005-02-22 18:11 ` Richard Stallman
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.