# HG changeset patch # User Richard M. Stallman # Date 964044274 0 # Node ID 01102e63ed88179932dec041cba5157a3e4428bb # Parent aa44e3d4f0817ec767d0db32b848464353e581d7 (run-with-idle-timer): Doc fix. diff -r aa44e3d4f081 -r 01102e63ed88 lisp/timer.el --- a/lisp/timer.el Wed Jul 19 22:00:37 2000 +0000 +++ b/lisp/timer.el Wed Jul 19 22:04:34 2000 +0000 @@ -370,9 +370,11 @@ ;;;###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. +The action is to call FUNCTION with arguments ARGS. SECS may be an integer or a floating point number. -The action is to call FUNCTION with arguments ARGS. + +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