with-mode-local-symbol
with-mode-local-symbol is a Lisp macro in `mode-local.el
'.
(with-mode-local-symbol MODE &rest BODY)
With the local bindings of MODE symbol, evaluate BODY.
The current mode bindings are saved, BODY is evaluated, and the saved
bindings are restored, even in case of an abnormal exit.
Value is what BODY returns.
This is like `with-mode-local', except that MODE's value is used.
To use the symbol MODE (quoted), use `with-mode-local'.