custom-variable-state-set

custom-variable-state-set is a compiled Lisp function in `cus-edit.el'.

(custom-variable-state-set WIDGET &optional STATE)

Set the state of WIDGET to STATE.
If STATE is nil, the value is computed by `custom-variable-state'.