aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/timer.el21
1 files changed, 11 insertions, 10 deletions
diff --git a/lisp/emacs-lisp/timer.el b/lisp/emacs-lisp/timer.el
index c80c49630ec..2aca26cf166 100644
--- a/lisp/emacs-lisp/timer.el
+++ b/lisp/emacs-lisp/timer.el
@@ -345,22 +345,23 @@ This function is called, by name, directly by the C code."
345(defun run-at-time (time repeat function &rest args) 345(defun run-at-time (time repeat function &rest args)
346 "Perform an action at time TIME. 346 "Perform an action at time TIME.
347Repeat the action every REPEAT seconds, if REPEAT is non-nil. 347Repeat the action every REPEAT seconds, if REPEAT is non-nil.
348REPEAT may be an integer or floating point number.
348TIME should be one of: 349TIME should be one of:
349- a string giving an absolute time like \"11:23pm\" (the 350- a string giving today's time like \"11:23pm\"
350 acceptable formats are those recognized by 351 (the acceptable formats are HHMM, H:MM, HH:MM, HHam, HHAM,
351 `diary-entry-time'; note that such times are interpreted 352 HHpm, HHPM, HH:MMam, HH:MMAM, HH:MMpm, or HH:MMPM;
352 as times today, even if in the past); 353 a period '.' can be used instead of a colon ':' to separate
353- a string giving a relative time like \"2 hours 35 minutes\" 354 the hour and minute parts);
354 (the acceptable formats are those recognized by 355- a string giving a relative time like \"90\" or \"2 hours 35 minutes\"
355 `timer-duration'); 356 (the acceptable forms are a number of seconds without units
356- nil meaning now; 357 or some combination of values using units in `timer-duration-words');
358- nil, meaning now;
357- a number of seconds from now; 359- a number of seconds from now;
358- a value from `encode-time'; 360- a value from `encode-time';
359- or t (with non-nil REPEAT) meaning the next integral 361- or t (with non-nil REPEAT) meaning the next integral
360 multiple of REPEAT. 362 multiple of REPEAT.
361 363
362REPEAT may be an integer or floating point number. The 364The action is to call FUNCTION with arguments ARGS.
363action is to call FUNCTION with arguments ARGS.
364 365
365This function returns a timer object which you can use in 366This function returns a timer object which you can use in
366`cancel-timer'." 367`cancel-timer'."