> It is not only AUCTeX; I just use that as an example. I have more packages > installed in site-lisp and some of them require a variable set to their > location or a location of one of their files. Emacs knows the site-lisp > directory because it puts it in load-path, so it could easily put it in a > variable also.
The reason why packages use such variables is not that they can't find the site-lisp directory, but that they don't know whether the package will be installed in the site-lisp directory or elsewhere. For example, in many cases it's installed in the user's home directory instead. Stefan _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel