hack-one-local-variable

hack-one-local-variable is a compiled Lisp function in `files.el'.

(hack-one-local-variable VAR VAL)

Set local variable VAR with value VAL.
If VAR is `mode', call `VAL-mode' as a function unless it's
already the major mode.