Mercurial > emacs
changeset 72512:ab8fd2fba72d
(Idle Timers): run-with-idle-timer allows Lisp time value. Add xref.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 25 Aug 2006 07:51:46 +0000 |
parents | 1ef51160f403 |
children | 55eefd4df7a5 |
files | lispref/os.texi |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/os.texi Fri Aug 25 07:47:12 2006 +0000 +++ b/lispref/os.texi Fri Aug 25 07:51:46 2006 +0000 @@ -1500,7 +1500,8 @@ @deffn Command run-with-idle-timer secs repeat function &rest args Set up a timer which runs when Emacs has been idle for @var{secs} seconds. The value of @var{secs} may be an integer or a floating point -number. +number; a value of the type returned by @code{current-idle-time} +is also allowed. If @var{repeat} is @code{nil}, the timer runs just once, the first time Emacs remains idle for a long enough time. More often @var{repeat} is @@ -1508,7 +1509,7 @@ remains idle for @var{secs} seconds. The function @code{run-with-idle-timer} returns a timer value which you -can use in calling @code{cancel-timer} (see below). +can use in calling @code{cancel-timer} (@pxref{Timers}). @end deffn @cindex idleness