diff options
author | Yuuki Harano <masm+github@masm11.me> | 2021-12-04 16:06:16 +0900 |
---|---|---|
committer | Yuuki Harano <masm+github@masm11.me> | 2021-12-04 16:06:16 +0900 |
commit | d44d6ae016ef9245737550a03ebf25cf49d7fe65 (patch) | |
tree | f5dc300883231efe23e0257884bdbd23de3128ee /lisp/emacs-lisp/timer.el | |
parent | 729311c22b230faab9f8714ca2b6cb8f73ac0737 (diff) | |
parent | fba17b0747ac8227c9e600b4398c3cc4295725e7 (diff) | |
download | emacs-d44d6ae016ef9245737550a03ebf25cf49d7fe65.tar.gz emacs-d44d6ae016ef9245737550a03ebf25cf49d7fe65.tar.bz2 emacs-d44d6ae016ef9245737550a03ebf25cf49d7fe65.zip |
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs into feature/pgtk
Diffstat (limited to 'lisp/emacs-lisp/timer.el')
-rw-r--r-- | lisp/emacs-lisp/timer.el | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/timer.el b/lisp/emacs-lisp/timer.el index 1ef4931b7be..2ac2c992456 100644 --- a/lisp/emacs-lisp/timer.el +++ b/lisp/emacs-lisp/timer.el @@ -351,19 +351,27 @@ This function is called, by name, directly by the C code." Repeat the action every REPEAT seconds, if REPEAT is non-nil. REPEAT may be an integer or floating point number. TIME should be one of: + - a string giving today's time like \"11:23pm\" (the acceptable formats are HHMM, H:MM, HH:MM, HHam, HHAM, HHpm, HHPM, HH:MMam, HH:MMAM, HH:MMpm, or HH:MMPM; a period `.' can be used instead of a colon `:' to separate the hour and minute parts); + - a string giving a relative time like \"90\" or \"2 hours 35 minutes\" (the acceptable forms are a number of seconds without units or some combination of values using units in `timer-duration-words'); + - nil, meaning now; + - a number of seconds from now; + - a value from `encode-time'; -- or t (with non-nil REPEAT) meaning the next integral - multiple of REPEAT. + +- or t (with non-nil REPEAT) meaning the next integral multiple + of REPEAT. This is handy when you want the function to run at + a certain \"round\" number. For instance, (run-at-time t 60 ...) + will run at 11:04:00, 11:05:00, etc. The action is to call FUNCTION with arguments ARGS. |