Function: timer-activate
timer-activate is a byte-compiled function defined in timer.el.gz.
Signature
(timer-activate TIMER &optional TRIGGERED-P REUSE-CELL)
Documentation
Insert TIMER into timer-list.
If TRIGGERED-P is t, make TIMER inactive (put it on the list, but
mark it as already triggered). To remove it, use cancel-timer.
REUSE-CELL, if non-nil, is a cons cell to reuse when inserting
TIMER into timer-list (usually a cell removed from that list by
cancel-timer-internal; using this reduces consing for repeat
timers). If nil, allocate a new cell.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/timer.el.gz
(defun timer-activate (timer &optional triggered-p reuse-cell)
"Insert TIMER into `timer-list'.
If TRIGGERED-P is t, make TIMER inactive (put it on the list, but
mark it as already triggered). To remove it, use `cancel-timer'.
REUSE-CELL, if non-nil, is a cons cell to reuse when inserting
TIMER into `timer-list' (usually a cell removed from that list by
`cancel-timer-internal'; using this reduces consing for repeat
timers). If nil, allocate a new cell."
(timer--activate timer triggered-p reuse-cell nil))