Hi Jean,

>>>>> JF <[email protected]> writes:
>>> File B seems to have a problem
>>> % -*- mode: latex; -*-
>>> %
>>> \def\foo_with_underscore{}
>>> \newcommand\foo{$}%$
>>> % a comment
>>> A foo_bar^bar{$}
>>> % a comment
>>> B foo_bar^bar{$}
>>> % a comment
>>> C foo_bar^bar
>>> $
>>> %
>>> %
>>> 
>>> In case of file B, which differs only by an added %$ at end of the
>>> \newcommand line, the \newcommand for example is not highlighted and
>>> the B line changes colors without applying script style, see
>>> screenshot

Fixed in the git repo. Please try.

Regards,
Ikumi Keita



_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to