* William McCallum (2005-07-05) writes:
On Jul 5, 2005, at 9:58 AM, Ralf Angeli wrote:
Undefined? After loading a LaTeX file (that's important) it
should at
least have _some_ value.
[...]
These are all the variables defined in tex-site.el. It seems that
when I do your emacs -Q thing, none of the autoloads in tex-site.el
are actually loaded. Well, maybe that's what autoload means? Wait
until you need it?
That's why I stressed (maybe not clear enough) to load a LaTeX file
before checking the value of the variable. As soon as you open a
LaTeX file, tex.el will be loaded and `TeX-style-path' defined.
As you got a correct value after loading tex.el manually in the `emacs
-Q' case, I am assuming the same would be true in case you loaded a
LaTeX file. That means there is probably some code in a site init
file or your user init file which prevents `TeX-style-private' or
`TeX-style-path' from being set correctly. You could try to find
errors in your user init file by adding
(setq debug-on-error t)
as the first line to your user init file, starting Emacs with
`emacs --no-site-file --debug-init', and loading a LaTeX file.