diff options
| author | Eli Zaretskii | 2016-09-23 11:43:25 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2016-09-23 11:43:25 +0300 |
| commit | 0ae9a816b9f68bd3f50fc287a342237c8b4fe78d (patch) | |
| tree | 6ba51f5f6c94220c1ab8f1656e332919d88655f5 /doc | |
| parent | 2c72c46af18b586137c3cebde56f451c1b0b7a9b (diff) | |
| download | emacs-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.texi | 11 |
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 |
| 1733 | future time or after a certain length of idleness. | 1733 | future time or after a certain length of idleness. A timer is a |
| 1734 | special object that stores the information about the next invocation | ||
| 1735 | times and the function to invoke. | ||
| 1736 | |||
| 1737 | @defun timerp object | ||
| 1738 | This predicate function returns non-@code{nil} of @code{object} is a | ||
| 1739 | timer. | ||
| 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 |
| 1736 | can run them only when Emacs could accept output from a subprocess: | 1743 | can run them only when Emacs could accept output from a subprocess: |