aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2000-07-19 22:04:34 +0000
committerRichard M. Stallman2000-07-19 22:04:34 +0000
commit37c004c4f9a727aa42a1ae8491fce4252b00eb0a (patch)
tree5441dded855d8d492883a8be602984f2ad86b019
parent8b7bc6282eba1267a4bcbb588a6c6c4f577529df (diff)
downloademacs-37c004c4f9a727aa42a1ae8491fce4252b00eb0a.tar.gz
emacs-37c004c4f9a727aa42a1ae8491fce4252b00eb0a.zip
(run-with-idle-timer): Doc fix.
-rw-r--r--lisp/timer.el6
1 files 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'."
370;;;###autoload 370;;;###autoload
371(defun run-with-idle-timer (secs repeat function &rest args) 371(defun run-with-idle-timer (secs repeat function &rest args)
372 "Perform an action the next time Emacs is idle for SECS seconds. 372 "Perform an action the next time Emacs is idle for SECS seconds.
373If REPEAT is non-nil, do this each time Emacs is idle for SECS seconds.
374SECS may be an integer or a floating point number.
375The action is to call FUNCTION with arguments ARGS. 373The action is to call FUNCTION with arguments ARGS.
374SECS may be an integer or a floating point number.
375
376If REPEAT is non-nil, do the action each time Emacs has been idle for
377exactly SECS seconds (that is, only once for each time Emacs becomes idle).
376 378
377This function returns a timer object which you can use in `cancel-timer'." 379This function returns a timer object which you can use in `cancel-timer'."
378 (interactive 380 (interactive