emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/modes.texi


From: Lute Kamstra
Subject: [Emacs-diffs] Changes to emacs/lispref/modes.texi
Date: Thu, 24 Feb 2005 09:20:15 -0500

Index: emacs/lispref/modes.texi
diff -c emacs/lispref/modes.texi:1.89 emacs/lispref/modes.texi:1.90
*** emacs/lispref/modes.texi:1.89       Wed Feb 23 09:13:14 2005
--- emacs/lispref/modes.texi    Thu Feb 24 14:20:14 2005
***************
*** 1100,1106 ****
    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
  This macro defines a new minor mode whose name is @var{mode} (a
  symbol).  It defines a command named @var{mode} to toggle the minor
--- 1100,1106 ----
    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
  This macro defines a new minor mode whose name is @var{mode} (a
  symbol).  It defines a command named @var{mode} to toggle the minor
***************
*** 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}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]