mode-local-symbol-value

mode-local-symbol-value is a compiled Lisp function in `mode-local.el'.

(mode-local-symbol-value SYMBOL &optional MODE PROPERTY)

Return the value of the mode local symbol bound with SYMBOL's name.
If optional argument MODE is non-nil, restrict lookup to that mode and
its parents (see the function `mode-local-symbol' for more details).
If optional argument PROPERTY is non-nil the mode local symbol must
have that property set. Return nil if the symbol doesn't exist, or
doesn't have PROPERTY set.