The error is gone, but I'm not sure AUCTeX itself is properly loaded. E.g.,
the command LaTeX-section is undefined. Or perhaps I'm misunderstanding
something?

Thanks!

On Sat, 9 Jan 2021 at 11:18, Tassilo Horn <[email protected]> wrote:

> Pastiche P <[email protected]> writes:
>
> Hi Pastiche,
>
> > I just installed AUCTeX 13.0.1 using M-x list-packages. This is Emacs
> > 27.1 under Windows.
> >
> > I put this in my config:
> >
> > (use-package tex
> >   :ensure auctex
> >   :config
> >   (setq TeX-auto-save t)
> >   (setq TeX-parse-self t))
> >
> > Whenever I open a *.tex file, I get
> >
> > Debugger entered--Lisp error: (void-function TeX-latex-mode)
>
> Please try this use-package spec:
>
> (use-package tex-mode
>   :ensure auctex
>   :config
>   (setq TeX-auto-save t)
>   (setq TeX-parse-self t))
>
> Does that work?  It does for me.
>
> Bye,
> Tassilo
>

Reply via email to