Emacs auctex 11.88: Symbol value as variable is not valid: LaTeX dialect

I have a problem using auctex 11.88 with emacs:

Whenever I try to open a .tex file, the following error message appears:

Loading /home/schmidt/.emacs.d/elpa/auctex-11.88.2/style/wrapfig.elc... load: Symbol value as variable is void: LaTeX-dialect 

When I try to download the file a second time, everything works. It seems to me that latex.el, where this variable is set, does not work correctly when opening the file for the first time. This is how I initialize auctex in a .emacs file:

 (load "tex-site.el" nil tt) (load "auctex.el" nil tt) 

Any ideas what I'm doing wrong?

+5
source share
1 answer

In my case, I could fix this problem by deleting the line

 (tool-bar-mode -1) 

from my .emacs.

+1
source

Source: https://habr.com/ru/post/1213686/


All Articles