Here's my MWE:




% Local Variables:
% LaTeX-verbatim-environments-local: ("tscode")
% LaTeX-verbatim-macros-with-delims-local: ("tsinline")
% End:

I've verified the buffer is loading as LaTeX-mode and that the variables listed have the quoted values given as the file-local value, but fontlock is still incorrect after saving&reverting the buffer:


I've had this working before, but I'm not sure what changed in my configuration. I'm assuming no incompatible changes with AucTeX have been introduced in the last three months or so.


  • OT: what theme/font are you using?
    – Tyler
    Nov 29, 2018 at 19:31

1 Answer 1


I can't reproduce what you're describing. Your example looks like this for me (with latest AUCTeX from ELPA):

enter image description here

You can try to eval the form (font-latex-update-font-lock t) and see if it helps. Also, try to disable the theme you're using. Otherwise, check your config again.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.