comparison lisp/timer.el @ 14509:c5631aa281ac

(run-at-time): Doc fix.
author Roland McGrath <roland@gnu.org>
date Wed, 07 Feb 1996 16:56:01 +0000
parents 87b0d4b7577a
children f50f87fae914
comparison
equal deleted inserted replaced
14508:87b0d4b7577a 14509:c5631aa281ac
176 176
177 ;;;###autoload 177 ;;;###autoload
178 (defun run-at-time (time repeat function &rest args) 178 (defun run-at-time (time repeat function &rest args)
179 "Run a function at a time, and optionally on a regular interval. 179 "Run a function at a time, and optionally on a regular interval.
180 Arguments are TIME, REPEAT, FUNCTION &rest ARGS. 180 Arguments are TIME, REPEAT, FUNCTION &rest ARGS.
181 TIME is a string like \"11:23pm\" or a value from `encode-time'. 181 TIME is a string like \"11:23pm\" or a value from `encode-time',
182 or a number of seconds from now.
182 REPEAT, an integer number of seconds, is the interval on which to repeat 183 REPEAT, an integer number of seconds, is the interval on which to repeat
183 the call to the function. If REPEAT is nil or 0, call it just once. 184 the call to the function. If REPEAT is nil or 0, call it just once.
184 185
185 This function returns a timer object which you can use in `cancel-timer'." 186 This function returns a timer object which you can use in `cancel-timer'."
186 (interactive "sRun at time: \nNRepeat interval: \naFunction: ") 187 (interactive "sRun at time: \nNRepeat interval: \naFunction: ")