]> git.eshelyaron.com Git - emacs.git/commitdiff
New arg for `read-event', `read-char', and `read-char-exclusive'
authorChong Yidong <cyd@stupidchicken.com>
Wed, 26 Jul 2006 18:28:57 +0000 (18:28 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 26 Jul 2006 18:28:57 +0000 (18:28 +0000)
etc/NEWS

index 4a2eaf4e2256868f8ba9f49c5694c06cf450146c..c00d13937ebd68ed2b911e1f201f5af33f66a8bd 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -4408,6 +4408,12 @@ name handlers.  This will be exploited for remote files mainly.
 
 ** Input changes:
 
++++
+*** The functions `read-event', `read-char', and `read-char-exclusive'
+have a new optional argument SECONDS.  If non-nil, this specifies a
+maximum time to wait for input, in seconds.  If no input arrives after
+this time elapses, the functions stop waiting and return nil.
+
 +++
 *** An interactive specification can now use the code letter 'U' to get
 the up-event that was discarded in case the last key sequence read for a