Tassilo Horn <address@hidden> writes:
> I see several ways to fix this:
>
> 1. Remove `font-latex-setup' from `latex-mode-hook' in
> `VirTeX-common-initialization'. I mean, then we know that the user
> uses AUCTeX's modes and not the built-in ones.
>
> 2. Don't add `font-latex-setup' to `latex-mode-hook' when loading
> font-latex.el in the first place.
>
> IMO, fix 2 is better because modifying stuff just by loading a lisp file
> is bad practice anyway. However, it will break for users of the Emacs
> built-in (la)tex-mode who use font-latex. They'd have to place
> `font-latex-setup' in their `latex-mode-hook' on their own then.
I've implemented fix 2 now. We'll see if that causes misery but I don't
think so.
Bye,
Tassilo