diff options
| -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: |