[auctex git version around May 11th, 2023]
If I have a document like this ``` \documentclass{article} \usepackage{fvextra} \DefineShortVerb{\|} \begin{document} |foo| \end{document} %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% LaTeX-shortvrb-chars: (?|) %%% End: ``` `|foo|` is not fontified as verbatim input. I have to add ``` %%% eval: (TeX-run-style-hooks "shortvrb") ``` to the local variable block to get proper fontification. Is there a more elegant solution? Or maybe it makes sense to always activate the (possibly adapted) 'shortvrb' style for 'fancyvrb'? Werner