From 37c004c4f9a727aa42a1ae8491fce4252b00eb0a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 19 Jul 2000 22:04:34 +0000 Subject: [PATCH] (run-with-idle-timer): Doc fix. --- lisp/timer.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.2