auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] TeX-latex-mode and override advice


From: Tassilo Horn
Subject: Re: [AUCTeX] TeX-latex-mode and override advice
Date: Thu, 15 Oct 2015 08:04:56 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Mandar Mitra <address@hidden> writes:

> It turns out the math-symbol-lists package broke during the update.
> This is needed by ac-math, which I require in LaTeX-mode-hook.
>
> Reinstalling the math-symbol-lists package fixed the problem.

Hm, indeed.  `TeX-latex-mode' indeed runs the hooks before setting its
mode name, so if a hook function errors, the mode name won't be set.
It's the way it is because the mode name also indicates the active minor
modes, e.g., LaTeX/PS, which you could enable/disable in the hooks.

Bye,
Tassilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]