Subject: Re: bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces

From: Tassilo Horn <[email-masked]>
Date: Thu, 03 Mar 2022 10:09:26 +0100

Arash Esbati <[email-masked]> writes:

Hi Arash,

>> Thanks for the heads-up, I've done that just now.
>>
>>   https://git.savannah.gnu.org/cgit/auctex.git/commit/?id=ab3bfaf1033f0d6e0ecfe3172794a6363450b207
>
> Thanks for the quick fix.  Have you also tried to run 'make' in the
> tests directory?  I get errors for three files, e.g. font-latex-test.el:
>
>   Test font-latex-three-dollars condition:
>       (error "Font-lock trying to use keywords before setting them up")
>
>   Test font-latex-unclosed-dollars condition:
>       (error "Font-lock trying to use keywords before setting them up")
>
> It seems that calling `font-lock-ensure' after `LaTeX-mode' helps:

See my proposed fix in Message-Id: [email-masked].

Bye,
Tassilo