aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2005-10-17 06:45:26 +0000
committerJuri Linkov2005-10-17 06:45:26 +0000
commit4049cdfac445bbd74d583ed5d01bd9e3213708fe (patch)
treed7e3ca4aa031b2bb578d6381d2bce22b2ef70a43
parenta029bcbbaffe98c622a3002eb66861fddcf0845d (diff)
downloademacs-4049cdfac445bbd74d583ed5d01bd9e3213708fe.tar.gz
emacs-4049cdfac445bbd74d583ed5d01bd9e3213708fe.zip
(Event Input Misc): Replace `...' with `@dots{}' in `@defmac' and `@defspec'.
(Quitting): Replace arg `forms' with `body' in `with-local-quit'.
-rw-r--r--lispref/commands.texi16
1 files changed, 8 insertions, 8 deletions
diff --git a/lispref/commands.texi b/lispref/commands.texi
index 353a7436c28..8788c5b4e5b 100644
--- a/lispref/commands.texi
+++ b/lispref/commands.texi
@@ -2434,7 +2434,7 @@ The alias @code{last-input-char} exists for compatibility with
2434Emacs version 18. 2434Emacs version 18.
2435@end defvar 2435@end defvar
2436 2436
2437@defmac while-no-input body... 2437@defmac while-no-input body@dots{}
2438This construct runs the @var{body} forms and returns the value of the 2438This construct runs the @var{body} forms and returns the value of the
2439last one---but only if no input arrives. If any input arrives during 2439last one---but only if no input arrives. If any input arrives during
2440the execution of the @var{body} forms, it aborts them (working much 2440the execution of the @var{body} forms, it aborts them (working much
@@ -2658,23 +2658,23 @@ is set to a value other than @code{nil}. If @code{inhibit-quit} is
2658non-@code{nil}, then @code{quit-flag} has no special effect. 2658non-@code{nil}, then @code{quit-flag} has no special effect.
2659@end defvar 2659@end defvar
2660 2660
2661@defmac with-local-quit forms@dots{} 2661@defmac with-local-quit body@dots{}
2662This macro executes @var{forms} in sequence, but allows quitting, at 2662This macro executes @var{body} forms in sequence, but allows quitting, at
2663least locally, within @var{body} even if @code{inhibit-quit} was 2663least locally, within @var{body} even if @code{inhibit-quit} was
2664non-@code{nil} outside this construct. It returns the value of the 2664non-@code{nil} outside this construct. It returns the value of the
2665last form in @var{forms}, unless exited by quitting, in which case 2665last form in @var{body}, unless exited by quitting, in which case
2666it returns @code{nil}. 2666it returns @code{nil}.
2667 2667
2668If @code{inhibit-quit} is @code{nil} on entry to @code{with-local-quit}, 2668If @code{inhibit-quit} is @code{nil} on entry to @code{with-local-quit},
2669it only executes the @var{forms}, and setting @code{quit-flag} causes 2669it only executes the @var{body}, and setting @code{quit-flag} causes
2670a normal quit. However, if @code{inhibit-quit} is non-@code{nil} so 2670a normal quit. However, if @code{inhibit-quit} is non-@code{nil} so
2671that ordinary quitting is delayed, a non-@code{nil} @code{quit-flag} 2671that ordinary quitting is delayed, a non-@code{nil} @code{quit-flag}
2672triggers a special kind of local quit. This ends the execution of 2672triggers a special kind of local quit. This ends the execution of
2673@var{forms} and exits the @code{with-local-quit} form with 2673@var{body} and exits the @code{with-local-quit} body with
2674@code{quit-flag} still non-@code{nil}, so that another (ordinary) quit 2674@code{quit-flag} still non-@code{nil}, so that another (ordinary) quit
2675will happen as soon as that is allowed. If @code{quit-flag} is 2675will happen as soon as that is allowed. If @code{quit-flag} is
2676already non-@code{nil} at the beginning of @var{forms}, the local quit 2676already non-@code{nil} at the beginning of @var{body}, the local quit
2677happens immediately and they don't execute at all. 2677happens immediately and the body doesn't execute at all.
2678 2678
2679This macro is mainly useful in functions that can be called from 2679This macro is mainly useful in functions that can be called from
2680timers, @code{pre-command-hook}, @code{post-command-hook} and other 2680timers, @code{pre-command-hook}, @code{post-command-hook} and other