mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 03:13:24 +00:00
; * lisp/subr.el (sit-for): Doc fix.
This commit is contained in:
parent
0b3e050c6c
commit
d11488fd6f
1 changed files with 5 additions and 3 deletions
|
@ -3529,13 +3529,15 @@ causes it to evaluate `help-form' and display the result."
|
||||||
char))
|
char))
|
||||||
|
|
||||||
(defun sit-for (seconds &optional nodisp)
|
(defun sit-for (seconds &optional nodisp)
|
||||||
"Redisplay, then wait for SECONDS seconds. Stop when input is available.
|
"Redisplay, then wait for SECONDS seconds; stop when input is available.
|
||||||
SECONDS may be a floating-point value.
|
SECONDS may be a floating-point value.
|
||||||
\(On operating systems that do not support waiting for fractions of a
|
\(On operating systems that do not support waiting for fractions of a
|
||||||
second, floating-point values are rounded down to the nearest integer.)
|
second, floating-point values are rounded down to the nearest integer.)
|
||||||
|
|
||||||
If optional arg NODISP is t, don't redisplay, just wait for input.
|
If there's pending input, return nil immediately without redisplaying
|
||||||
Redisplay does not happen if input is available before it starts.
|
and without waiting.
|
||||||
|
If optional arg NODISP is t, don't redisplay, just wait for input (but
|
||||||
|
still return nil immediately if there's pending input).
|
||||||
|
|
||||||
Value is t if waited the full time with no input arriving, and nil otherwise."
|
Value is t if waited the full time with no input arriving, and nil otherwise."
|
||||||
;; This used to be implemented in C until the following discussion:
|
;; This used to be implemented in C until the following discussion:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue