mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-02 11:21:42 +00:00
add-timeout doc fix
* lisp/emacs-lisp/timer.el (add-timeout): Mention the return value (bug#20181).
This commit is contained in:
parent
6c7e7f421d
commit
921b40476f
@ -424,6 +424,8 @@ This function returns a timer object which you can use in `cancel-timer'."
|
||||
(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'."
|
||||
(run-with-timer secs repeat function object))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user