2388 |
Emacs version 18. |
Emacs version 18. |
2389 |
@end defvar |
@end defvar |
2390 |
|
|
2391 |
|
@defmac while-no-input body... |
2392 |
|
This construct runs the @var{body} forms and returns the value |
2393 |
|
of the last one---but only if no input arrives. If any input |
2394 |
|
arrives during the execution of the @var{body} forms, it aborts |
2395 |
|
them (working much like a quit), and the @code{while-no-input} |
2396 |
|
form returns @code{nil}. |
2397 |
|
|
2398 |
|
If a part of @var{body} binds @code{inhibit-quit} to non-@code{nil}, |
2399 |
|
arrival of input during those parts won't cause an abort until |
2400 |
|
the end of that part. |
2401 |
|
@end defmac |
2402 |
|
|
2403 |
@defun discard-input |
@defun discard-input |
2404 |
@cindex flush input |
@cindex flush input |
2405 |
@cindex discard input |
@cindex discard input |