user4583082
user4583082

Reputation: 61

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?

Upvotes: 5

Views: 608

Answers (1)

Erki der Loony
Erki der Loony

Reputation: 691

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

(tool-bar-mode -1)

from my .emacs.

Upvotes: 1

Related Questions