[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] installing elpa AucTeX, obtaining: "Symbol's function defin
From: |
Mosè Giordano |
Subject: |
Re: [AUCTeX] installing elpa AucTeX, obtaining: "Symbol's function definition is void: TeX-add-to-alist" error |
Date: |
Thu, 3 Jul 2014 15:42:16 +0200 (CEST) |
Hi!
2014-07-03 12:49 GMT+02:00 TeXnicien de Surface
<address@hidden>:
> hello all
>
> Since today I've used an 'old' version of AucTeX installed from tarball
> and it worked almost fine.
>
> Since I'm in a period where I can take some time to better my ubuntu box
> I've decided to upgrade with elpa.
>
> On
> GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2)
> of 2013-09-03 on novatux-laptop
>
> I've put this in my .emacs:
>
> <.emacs>
> (add-to-list 'load-path
> (expand-file-name
> "/home/novatux/.emacs.d/elpa/auctex-11.87.5/"))
>
> (load "auctex.el" nil t t)
>
> ;; Make AUCTeX aware of style files and multi-file documents
> (setq TeX-parse-self t) ; Enable parse on load.
> (setq TeX-auto-save t) ; Enable parse on save.
> (setq-default TeX-master nil) ; demande le maitre
>
> </.emacs>
>
> Now for the strange behaviour:
>
> when I try to open a tex file (with C-x C-f)
> I get the message:
> Symbol's function definition is void: TeX-add-to-alist
>
> The file is nonetheless opened, I see it in the list of buffers.
> I can go to the buffer and then auctex seems to work fine.
>
> But this is quite an annoying behaviour.
>
> What could I do to make things right?
Have you ever used the git version of AUCTeX? The function
`TeX-add-to-alist' has been introduced there, it seems you have a .el
style file parsed by the development version of the package.
Bye,
Mosè