Function: timeout--eval-value
timeout--eval-value is a byte-compiled function defined in
timeout.el.gz.
Signature
(timeout--eval-value VALUE)
Documentation
Eval a VALUE.
If value is a function (either lambda or a callable symbol), eval the function (with no argument) and return the result. Else if value is a symbol, return its value. Else return itself.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/timeout.el.gz
(defsubst timeout--eval-value (value)
"Eval a VALUE.
If value is a function (either lambda or a callable symbol), eval the
function (with no argument) and return the result. Else if value is a
symbol, return its value. Else return itself."
(cond ((numberp value) value)
((functionp value) (funcall value))
((and (symbolp value) (boundp value)) (symbol-value value))
(t (error "Invalid value %s" value))))