简体   繁体   中英

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?

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

(tool-bar-mode -1)

from my .emacs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM