aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2016-09-23 11:43:25 +0300
committerEli Zaretskii2016-09-23 11:43:25 +0300
commit0ae9a816b9f68bd3f50fc287a342237c8b4fe78d (patch)
tree6ba51f5f6c94220c1ab8f1656e332919d88655f5 /doc
parent2c72c46af18b586137c3cebde56f451c1b0b7a9b (diff)
downloademacs-0ae9a816b9f68bd3f50fc287a342237c8b4fe78d.tar.gz
emacs-0ae9a816b9f68bd3f50fc287a342237c8b4fe78d.zip
Document 'timerp'
* doc/lispref/os.texi (Timers): Document 'timerp'. (Bug#24511) Improve indexing.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/os.texi11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index ec14b014e52..0d999ae9b99 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -1727,10 +1727,17 @@ This function returns @code{t} if @var{year} is a leap year.
1727 1727
1728@node Timers 1728@node Timers
1729@section Timers for Delayed Execution 1729@section Timers for Delayed Execution
1730@cindex timer 1730@cindex timers
1731 1731
1732 You can set up a @dfn{timer} to call a function at a specified 1732 You can set up a @dfn{timer} to call a function at a specified
1733future time or after a certain length of idleness. 1733future time or after a certain length of idleness. A timer is a
1734special object that stores the information about the next invocation
1735times and the function to invoke.
1736
1737@defun timerp object
1738This predicate function returns non-@code{nil} of @code{object} is a
1739timer.
1740@end defun
1734 1741
1735 Emacs cannot run timers at any arbitrary point in a Lisp program; it 1742 Emacs cannot run timers at any arbitrary point in a Lisp program; it
1736can run them only when Emacs could accept output from a subprocess: 1743can run them only when Emacs could accept output from a subprocess: