Created
June 16, 2010 17:54
-
-
Save sritchie/441032 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sit-for is a compiled Lisp function in `subr.el'. | |
(sit-for SECONDS &optional NODISP) | |
Perform redisplay, then wait for SECONDS seconds or until input is available. | |
SECONDS may be a floating-point value. | |
(On operating systems that do not support waiting for fractions of a | |
second, floating-point values are rounded down to the nearest integer.) | |
If optional arg NODISP is t, don't redisplay, just wait for input. | |
Redisplay does not happen if input is available before it starts. | |
Value is t if waited the full time with no input arriving, and nil otherwise. | |
An obsolete, but still supported form is | |
(sit-for SECONDS &optional MILLISECONDS NODISP) | |
where the optional arg MILLISECONDS specifies an additional wait period, | |
in milliseconds; this was useful when Emacs was built without | |
floating point support. | |
This function is advised. | |
Before-advice `follow-sit-for': | |
Adviced by Follow mode. | |
Avoid to recenter windows displaying only the end of a file as when | |
displaying a short file in two windows, using Follow mode. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment