font-lock-function

font-lock-function is a variable defined in `font-core.el'.
Its value is
font-lock-default-function

  • This variable may be risky if used as a file-local variable.

Documentation:
A function which is called when `font-lock-mode' is toggled.
It will be passed one argument, which is the current value of
`font-lock-mode'.