In a compilation buffer, when I set buffer local variable like so:

(setq-local foo 'bar)

Doing a (recompile) will unset this variable.

Is there a way to keep the buffer local value permanent through recompiles?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.