From: Richard M. Stallman Date: Wed, 19 Jul 2000 22:04:34 +0000 (+0000) Subject: (run-with-idle-timer): Doc fix. X-Git-Tag: emacs-pretest-21.0.90~2720 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=37c004c4f9a727aa42a1ae8491fce4252b00eb0a;p=emacs.git (run-with-idle-timer): Doc fix. --- diff --git a/lisp/timer.el b/lisp/timer.el index f60763c2f68..66b16b60fb1 100644 --- a/lisp/timer.el +++ b/lisp/timer.el @@ -370,9 +370,11 @@ This function is for compatibility; see also `run-with-timer'." ;;;###autoload (defun run-with-idle-timer (secs repeat function &rest args) "Perform an action the next time Emacs is idle for SECS seconds. -If REPEAT is non-nil, do this each time Emacs is idle for SECS seconds. -SECS may be an integer or a floating point number. The action is to call FUNCTION with arguments ARGS. +SECS may be an integer or a floating point number. + +If REPEAT is non-nil, do the action each time Emacs has been idle for +exactly SECS seconds (that is, only once for each time Emacs becomes idle). This function returns a timer object which you can use in `cancel-timer'." (interactive