Here's my MWE:
\documentclass{article}
\newenvironment{tscode}{}{}
\def\tscode|#1|{}
\begin{document}
\tsinline|efwe|
\begin{tscode}
efihw$feiw$
\end{tscode}
\end{document}
% 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.
Related: