diff options
| author | Juri Linkov | 2005-10-17 06:45:26 +0000 |
|---|---|---|
| committer | Juri Linkov | 2005-10-17 06:45:26 +0000 |
| commit | 4049cdfac445bbd74d583ed5d01bd9e3213708fe (patch) | |
| tree | d7e3ca4aa031b2bb578d6381d2bce22b2ef70a43 | |
| parent | a029bcbbaffe98c622a3002eb66861fddcf0845d (diff) | |
| download | emacs-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.texi | 16 |
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 | |||
| 2434 | Emacs version 18. | 2434 | Emacs version 18. |
| 2435 | @end defvar | 2435 | @end defvar |
| 2436 | 2436 | ||
| 2437 | @defmac while-no-input body... | 2437 | @defmac while-no-input body@dots{} |
| 2438 | This construct runs the @var{body} forms and returns the value of the | 2438 | This construct runs the @var{body} forms and returns the value of the |
| 2439 | last one---but only if no input arrives. If any input arrives during | 2439 | last one---but only if no input arrives. If any input arrives during |
| 2440 | the execution of the @var{body} forms, it aborts them (working much | 2440 | the 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 | |||
| 2658 | non-@code{nil}, then @code{quit-flag} has no special effect. | 2658 | non-@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{} |
| 2662 | This macro executes @var{forms} in sequence, but allows quitting, at | 2662 | This macro executes @var{body} forms in sequence, but allows quitting, at |
| 2663 | least locally, within @var{body} even if @code{inhibit-quit} was | 2663 | least locally, within @var{body} even if @code{inhibit-quit} was |
| 2664 | non-@code{nil} outside this construct. It returns the value of the | 2664 | non-@code{nil} outside this construct. It returns the value of the |
| 2665 | last form in @var{forms}, unless exited by quitting, in which case | 2665 | last form in @var{body}, unless exited by quitting, in which case |
| 2666 | it returns @code{nil}. | 2666 | it returns @code{nil}. |
| 2667 | 2667 | ||
| 2668 | If @code{inhibit-quit} is @code{nil} on entry to @code{with-local-quit}, | 2668 | If @code{inhibit-quit} is @code{nil} on entry to @code{with-local-quit}, |
| 2669 | it only executes the @var{forms}, and setting @code{quit-flag} causes | 2669 | it only executes the @var{body}, and setting @code{quit-flag} causes |
| 2670 | a normal quit. However, if @code{inhibit-quit} is non-@code{nil} so | 2670 | a normal quit. However, if @code{inhibit-quit} is non-@code{nil} so |
| 2671 | that ordinary quitting is delayed, a non-@code{nil} @code{quit-flag} | 2671 | that ordinary quitting is delayed, a non-@code{nil} @code{quit-flag} |
| 2672 | triggers a special kind of local quit. This ends the execution of | 2672 | triggers 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 |
| 2675 | will happen as soon as that is allowed. If @code{quit-flag} is | 2675 | will happen as soon as that is allowed. If @code{quit-flag} is |
| 2676 | already non-@code{nil} at the beginning of @var{forms}, the local quit | 2676 | already non-@code{nil} at the beginning of @var{body}, the local quit |
| 2677 | happens immediately and they don't execute at all. | 2677 | happens immediately and the body doesn't execute at all. |
| 2678 | 2678 | ||
| 2679 | This macro is mainly useful in functions that can be called from | 2679 | This macro is mainly useful in functions that can be called from |
| 2680 | timers, @code{pre-command-hook}, @code{post-command-hook} and other | 2680 | timers, @code{pre-command-hook}, @code{post-command-hook} and other |