Function: timer-until

timer-until is a byte-compiled function defined in timer.el.gz.

Signature

(timer-until TIMER TIME)

Documentation

Calculate number of seconds from when TIMER will run, until TIME.

TIMER is a timer, and stands for the time when its next repeat is scheduled. TIME is a Lisp time value.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/timer.el.gz
(defun timer-until (timer time)
  "Calculate number of seconds from when TIMER will run, until TIME.
TIMER is a timer, and stands for the time when its next repeat is scheduled.
TIME is a Lisp time value."
  (float-time (time-subtract time (timer--time timer))))