Hi Arash,

Indeed, your suggestion (or deleting ":mode" from mine) fixes things.
I get now that *.tex maps to tex-mode which remaps to TeX-tex-mode,
etc.

Thanks,b est,

Paul

On Sun, Jun 30, 2024 at 10:40 PM Arash Esbati <ar...@gnu.org> wrote:
>
> Hi Paul,
>
> Paul Nelson <ultr...@gmail.com> writes:
>
> > What's the recommended way nowadays to activate LaTeX-mode
> > automatically upon opening a tex file?  I would have thought that
> >
> > (use-package tex
> >   :ensure auctex
> >   :mode ("\\.tex\\'" . LaTeX-mode))
>
> I presume you've installed AUCTeX from ELPA, does this work as expected?
>
> (use-package auctex
>   :ensure t)
>
> Best, Arash

Reply via email to