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: Juri Linkov
Subject: [Emacs-diffs] Changes to emacs/lispref/modes.texi
Date: Mon, 17 Oct 2005 02:48:01 -0400

Index: emacs/lispref/modes.texi
diff -c emacs/lispref/modes.texi:1.123 emacs/lispref/modes.texi:1.124
*** emacs/lispref/modes.texi:1.123      Thu Sep  8 22:00:58 2005
--- emacs/lispref/modes.texi    Mon Oct 17 06:48:00 2005
***************
*** 1154,1160 ****
  @var{hookvars}.
  @end defun
  
! @defmac delay-mode-hooks body...
  This macro executes @var{body} like @code{progn}, but all calls to
  @code{run-mode-hooks} inside @var{body} delay running their hooks.
  They will be run by the first call to @code{run-mode-hooks} after exit
--- 1154,1160 ----
  @var{hookvars}.
  @end defun
  
! @defmac delay-mode-hooks address@hidden
  This macro executes @var{body} like @code{progn}, but all calls to
  @code{run-mode-hooks} inside @var{body} delay running their hooks.
  They will be run by the first call to @code{run-mode-hooks} after exit
***************
*** 1364,1370 ****
    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
--- 1364,1370 ----
    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]]] 
address@hidden address@hidden
  @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
***************
*** 1492,1498 ****
   :group 'hunger)
  @end smallexample
  
! @defmac define-global-minor-mode global-mode mode turn-on keyword-args...
  This defines a global minor mode named @var{global-mode} whose meaning
  is to enable the buffer-local minor mode @var{mode} in every buffer.
  To turn on the minor mode in a buffer, it uses the function
--- 1492,1498 ----
   :group 'hunger)
  @end smallexample
  
! @defmac define-global-minor-mode global-mode mode turn-on address@hidden
  This defines a global minor mode named @var{global-mode} whose meaning
  is to enable the buffer-local minor mode @var{mode} in every buffer.
  To turn on the minor mode in a buffer, it uses the function




reply via email to

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