when_set_fns
when_set_fns — returns all functions set for a symbol.
Syntax
when_set_fns (symbol)
Returns
The expressions, in Lisp syntax, that have been set to be
evaluated whenever the symbol's value
changes.
Example
Gamma> b = 5;
5
Gamma> add_set_function(#b,#princ("Changed.\n"));
(princ "Changed.\n")
Gamma> add_set_function(#b,#princ("Update now.\n"));
(princ "Update now.\n")
Gamma> b = 4;
Update now.
Changed.
4
Gamma> when_set_fns(#b);
((princ "Update now.\n") (princ "Changed.\n"))
Gamma>