Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

emacs auctex 11.88: Symbol's value as variable is void: LaTeX-dialect

I have a problem in 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's value as variable is void: LaTeX-dialect

When I try to load 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 my .emacs file:

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

Any ideas what I am doing wrong?

like image 688
user4583082 Avatar asked Nov 10 '22 18:11

user4583082


1 Answers

In my case I could fix this problem by removing the line

(tool-bar-mode -1)

from my .emacs.

like image 73
Erki der Loony Avatar answered Nov 15 '22 13:11

Erki der Loony