I want to make a plea for a new lisp-level variable `site-lisp-directory'
similar to `data-directory' and `exec-directory'. In my AUCTeX tex-site.el
I now have:

(defvar TeX-lisp-directory
"/Applications/Emacs.app/Contents/Resources/site-lisp/auctex" ...

I would prefer the location-independent:

(expand-file-name "auctex" site-lisp-directory)

Of course it is possible to say:
(defvar site-lisp-directory (expand-file-name "../site-lisp"
data-directory)) but I think it is cleaner if this is setup by the
initialization code.
-- 
Piet van Oostrum <[EMAIL PROTECTED]>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: [EMAIL PROTECTED]


_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to