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

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.

链接地址: http://www.djcxy.com/p/33400.html

上一篇: AUCTeX和主文件通过* .latexmain文件的方式,比如在vim中

下一篇: emacs auctex 11.88:作为变量的符号值是void:LaTeX