Mercurial > emacs
comparison lispref/commands.texi @ 72147:87425e2757e0
(Reading One Event): Fix last change.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Thu, 27 Jul 2006 23:20:52 +0000 |
parents | 8eab314cd76e |
children | c6f585c55a73 |
comparison
equal
deleted
inserted
replaced
72146:233adf3cfb3c | 72147:87425e2757e0 |
---|---|
2218 | 2218 |
2219 If @code{cursor-in-echo-area} is non-@code{nil}, then @code{read-event} | 2219 If @code{cursor-in-echo-area} is non-@code{nil}, then @code{read-event} |
2220 moves the cursor temporarily to the echo area, to the end of any message | 2220 moves the cursor temporarily to the echo area, to the end of any message |
2221 displayed there. Otherwise @code{read-event} does not move the cursor. | 2221 displayed there. Otherwise @code{read-event} does not move the cursor. |
2222 | 2222 |
2223 If @code{seconds} is non-@code{nil}, it should be a number specifying | 2223 If @var{seconds} is non-@code{nil}, it should be a number specifying |
2224 the maximum time to wait for input, in seconds. If no input arrives | 2224 the maximum time to wait for input, in seconds. If no input arrives |
2225 within that time, @code{read-event} stops waiting and returns | 2225 within that time, @code{read-event} stops waiting and returns |
2226 @code{nil}. A floating-point value for @code{seconds} means to wait | 2226 @code{nil}. A floating-point value for @var{seconds} means to wait |
2227 for a fractional number of seconds. Some systems support only a whole | 2227 for a fractional number of seconds. Some systems support only a whole |
2228 number of seconds; on these systems, @code{seconds} is rounded down. | 2228 number of seconds; on these systems, @var{seconds} is rounded down. |
2229 If @code{seconds} is @code{nil}, @code{read-event} waits as long as | 2229 If @var{seconds} is @code{nil}, @code{read-event} waits as long as |
2230 necessary for input to arrive. | 2230 necessary for input to arrive. |
2231 | 2231 |
2232 If @code{read-event} gets an event that is defined as a help character, | 2232 If @code{read-event} gets an event that is defined as a help character, |
2233 then in some cases @code{read-event} processes the event directly without | 2233 then in some cases @code{read-event} processes the event directly without |
2234 returning. @xref{Help Functions}. Certain other events, called | 2234 returning. @xref{Help Functions}. Certain other events, called |