Function: add-timeout
add-timeout is a byte-compiled function defined in timer.el.gz.
This function is obsolete since 30.1; use run-with-timer instead.
Signature
(add-timeout SECS FUNCTION OBJECT &optional REPEAT)
Documentation
Add a timer to run SECS seconds from now, to call FUNCTION on OBJECT.
If REPEAT is non-nil, repeat the timer every REPEAT seconds.
This function returns a timer object which you can use in cancel-timer.
This function is for compatibility; see also run-with-timer.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/timer.el.gz
(defun add-timeout (secs function object &optional repeat)
"Add a timer to run SECS seconds from now, to call FUNCTION on OBJECT.
If REPEAT is non-nil, repeat the timer every REPEAT seconds.
This function returns a timer object which you can use in `cancel-timer'.
This function is for compatibility; see also `run-with-timer'."
(declare (obsolete run-with-timer "30.1"))
(run-with-timer secs repeat function object))