* lispref/modes.texi patch.
@ 2005-02-23 11:43 Lute Kamstra
2005-02-24 13:55 ` Richard Stallman
0 siblings, 1 reply; 3+ messages in thread
From: Lute Kamstra @ 2005-02-23 11:43 UTC (permalink / raw)
What about documenting this feature of define-minor-mode?
Lute.
*** lispref/modes.texi 23 Feb 2005 09:13:14 -0000 1.89
--- lispref/modes.texi 23 Feb 2005 11:40:37 -0000
***************
*** 1121,1128 ****
(@var{key-sequence} . @var{definition})
@end example
! The @var{keyword-args} consist of keywords followed by corresponding
! values. A few keywords have special meanings:
@table @code
@item :global @var{global}
--- 1121,1130 ----
(@var{key-sequence} . @var{definition})
@end example
! The above three arguments @var{init-value}, @var{lighter}, and
! @var{keymap} can be (partially) omitted when @var{keyword-args} are
! used. The @var{keyword-args} consist of keywords followed by
! corresponding values. A few keywords have special meanings:
@table @code
@item :global @var{global}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: lispref/modes.texi patch.
2005-02-23 11:43 lispref/modes.texi patch Lute Kamstra
@ 2005-02-24 13:55 ` Richard Stallman
2005-02-24 14:23 ` Lute Kamstra
0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2005-02-24 13:55 UTC (permalink / raw)
Cc: emacs-devel
What about documenting this feature of define-minor-mode?
This change is ok, but the @defmac line has to be changed too.
Right now it says that you can't specify keyword-args without
these three.
Here's what it should say:
@defmac define-minor-mode mode doc [init-value [lighter [keymap]]] keyword-args... body...
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: lispref/modes.texi patch.
2005-02-24 13:55 ` Richard Stallman
@ 2005-02-24 14:23 ` Lute Kamstra
0 siblings, 0 replies; 3+ messages in thread
From: Lute Kamstra @ 2005-02-24 14:23 UTC (permalink / raw)
Cc: emacs-devel
Richard Stallman <rms@gnu.org> writes:
> What about documenting this feature of define-minor-mode?
>
> This change is ok, but the @defmac line has to be changed too.
> Right now it says that you can't specify keyword-args without
> these three.
>
> Here's what it should say:
>
> @defmac define-minor-mode mode doc [init-value [lighter [keymap]]] keyword-args... body...
Agreed and committed,
Lute.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-02-24 14:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-23 11:43 lispref/modes.texi patch Lute Kamstra
2005-02-24 13:55 ` Richard Stallman
2005-02-24 14:23 ` Lute Kamstra
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.