(defun dep-add-listener (dep func)
"Add a listener function FUNC to the DEP. The FUNC is called each time the
DEP's value (or good/bad state) changes. It is called with no arguments,
and its return value is ignored."
(push func (dep-listeners dep)))
(defun dep-add-listener (dep func)
"Add a listener function FUNC to the DEP. The FUNC is called each time the
DEP's value (or good/bad state) changes. It is called with no arguments,
and its return value is ignored."
(push func (dep-listeners dep)))