Tassilo Horn <t...@gnu.org> writes: > However, it doesn't work automatically. `TeX-active-styles' lists > "amstext", so shouldn't that trigger loading of > auctex/style/amstext.el? > > Hm, on further investigation, even when I eval > > (load-file "~/Repos/el/auctex/style/amstex.el") > > using M-:, `TeX-style-hook-list' contains just an empty ("amstext") > entry without hook function! That entry has been there before, too.
Stupid me, of course I wanted to load amstext.el, not amstex.el. When loading that manually, the \text macro gets inserted with braces as it should be. So the problem is only that the style files don't get loaded automatically. Bye, Tassilo _______________________________________________ auctex mailing list auctex@gnu.org https://lists.gnu.org/mailman/listinfo/auctex