# HG changeset patch # User Chong Yidong # Date 1153938537 0 # Node ID a91a11c6b1ad261c2a04ecdbfd8768579bf145b7 # Parent 8eab314cd76ecd2bd9e137f8a87f7442012ba9fa New arg for `read-event', `read-char', and `read-char-exclusive' diff -r 8eab314cd76e -r a91a11c6b1ad etc/NEWS --- a/etc/NEWS Wed Jul 26 18:18:54 2006 +0000 +++ b/etc/NEWS Wed Jul 26 18:28:57 2006 +0000 @@ -4409,6 +4409,12 @@ ** 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 previous `k' or `K' argument was a down-event; otherwise nil is used.