Mercurial > emacs
changeset 72140:a91a11c6b1ad
New arg for `read-event', `read-char', and `read-char-exclusive'
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 26 Jul 2006 18:28:57 +0000 |
parents | 8eab314cd76e |
children | c5e963b6d40d |
files | etc/NEWS |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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.