Commit 0ae9a816 authored by Eli Zaretskii's avatar Eli Zaretskii

Document 'timerp'

* doc/lispref/os.texi (Timers): Document 'timerp'.  (Bug#24511)
Improve indexing.
parent 2c72c46a
......@@ -1727,10 +1727,17 @@ This function returns @code{t} if @var{year} is a leap year.
@node Timers
@section Timers for Delayed Execution
@cindex timer
@cindex timers
You can set up a @dfn{timer} to call a function at a specified
future time or after a certain length of idleness.
future time or after a certain length of idleness. A timer is a
special object that stores the information about the next invocation
times and the function to invoke.
@defun timerp object
This predicate function returns non-@code{nil} of @code{object} is a
timer.
@end defun
Emacs cannot run timers at any arbitrary point in a Lisp program; it
can run them only when Emacs could accept output from a subprocess:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment