emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Juri Linkov
Subject: [Emacs-diffs] Changes to emacs/lispref/commands.texi
Date: Mon, 17 Oct 2005 02:45:26 -0400

Index: emacs/lispref/commands.texi
diff -c emacs/lispref/commands.texi:1.71 emacs/lispref/commands.texi:1.72
*** emacs/lispref/commands.texi:1.71    Wed Aug 10 14:29:00 2005
--- emacs/lispref/commands.texi Mon Oct 17 06:45:26 2005
***************
*** 2434,2440 ****
  Emacs version 18.
  @end defvar
  
! @defmac while-no-input body...
  This construct runs the @var{body} forms and returns the value of the
  last one---but only if no input arrives.  If any input arrives during
  the execution of the @var{body} forms, it aborts them (working much
--- 2434,2440 ----
  Emacs version 18.
  @end defvar
  
! @defmac while-no-input address@hidden
  This construct runs the @var{body} forms and returns the value of the
  last one---but only if no input arrives.  If any input arrives during
  the execution of the @var{body} forms, it aborts them (working much
***************
*** 2658,2680 ****
  address@hidden, then @code{quit-flag} has no special effect.
  @end defvar
  
! @defmac with-local-quit address@hidden
! This macro executes @var{forms} in sequence, but allows quitting, at
  least locally, within @var{body} even if @code{inhibit-quit} was
  address@hidden outside this construct.  It returns the value of the
! last form in @var{forms}, unless exited by quitting, in which case
  it returns @code{nil}.
  
  If @code{inhibit-quit} is @code{nil} on entry to @code{with-local-quit},
! it only executes the @var{forms}, and setting @code{quit-flag} causes
  a normal quit.  However, if @code{inhibit-quit} is address@hidden so
  that ordinary quitting is delayed, a address@hidden @code{quit-flag}
  triggers a special kind of local quit.  This ends the execution of
! @var{forms} and exits the @code{with-local-quit} form with
  @code{quit-flag} still address@hidden, so that another (ordinary) quit
  will happen as soon as that is allowed.  If @code{quit-flag} is
! already address@hidden at the beginning of @var{forms}, the local quit
! happens immediately and they don't execute at all.
  
  This macro is mainly useful in functions that can be called from
  timers, @code{pre-command-hook}, @code{post-command-hook} and other
--- 2658,2680 ----
  address@hidden, then @code{quit-flag} has no special effect.
  @end defvar
  
! @defmac with-local-quit address@hidden
! This macro executes @var{body} forms in sequence, but allows quitting, at
  least locally, within @var{body} even if @code{inhibit-quit} was
  address@hidden outside this construct.  It returns the value of the
! last form in @var{body}, unless exited by quitting, in which case
  it returns @code{nil}.
  
  If @code{inhibit-quit} is @code{nil} on entry to @code{with-local-quit},
! it only executes the @var{body}, and setting @code{quit-flag} causes
  a normal quit.  However, if @code{inhibit-quit} is address@hidden so
  that ordinary quitting is delayed, a address@hidden @code{quit-flag}
  triggers a special kind of local quit.  This ends the execution of
! @var{body} and exits the @code{with-local-quit} body with
  @code{quit-flag} still address@hidden, so that another (ordinary) quit
  will happen as soon as that is allowed.  If @code{quit-flag} is
! already address@hidden at the beginning of @var{body}, the local quit
! happens immediately and the body doesn't execute at all.
  
  This macro is mainly useful in functions that can be called from
  timers, @code{pre-command-hook}, @code{post-command-hook} and other




reply via email to

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