run-at-time - mention args in docstring

checkdoc's warning about it was getting annoying.
This commit is contained in:
contrapunctus 2020-09-06 20:52:37 +05:30
parent 15e68db5a0
commit c8bb401155
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@ like to spend GOAL time on any one of those tasks."
(repeat :inline t string))))
(defun chronometrist-goal-run-at-time (time repeat function &rest args)
"Like `run-at-time', but append timers to `chronometrist-goal--timers-list'."
"Like `run-at-time', but append timers to `chronometrist-goal--timers-list'.
TIME, REPEAT, FUNCTION, and ARGS are as used in `run-at-time'."
(->> (apply #'run-at-time time repeat function args)
(list)
(append chronometrist-goal--timers-list)