unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).