Mercurial > emacs
diff lispref/commands.texi @ 90068:eac554634bfa
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-79
Merge from emacs--cvs-trunk--0
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-735
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-747
Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Sat, 25 Dec 2004 02:00:25 +0000 |
parents | cb7f41387eb3 92202f639066 |
children | 95879cc1ed20 |
line wrap: on
line diff
--- a/lispref/commands.texi Tue Dec 14 09:27:49 2004 +0000 +++ b/lispref/commands.texi Sat Dec 25 02:00:25 2004 +0000 @@ -2388,6 +2388,18 @@ 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 like a quit), and the @code{while-no-input} +form returns @code{nil}. + +If a part of @var{body} binds @code{inhibit-quit} to non-@code{nil}, +arrival of input during those parts won't cause an abort until +the end of that part. +@end defmac + @defun discard-input @cindex flush input @cindex discard input