[comp.emacs] setting load-path variable

banderso@sagpd1.UUCP (Bruce Anderson) (02/01/90)

We are running Gnu Emacs 18.51 on Sun 3's with SunOS 4.0.3.

In the manual it says that you can automatically set the 'load-path'
variable by setting the EMACSLOADPATH environment variable. I have
been able to get this to work if I only want to have one directory
in the load path but have tried several different formats and
have been unable to get more than one path to be set properly.
I get something like ("\"path1\" \"path2\"") rather than
simply ("path1" "path2") for the value of load-path.

I would be interested to find out if you can set a multiple path
load path from the environment and if so how.

------
Bruce Anderson 			Scientific Atlanta - GPD
(619) 268-7262			8835 Balboa Ave
...!sagpd1!banderso		San Diego, CA 92123

mleisher@nmsu.edu (Mark Leisher) (02/02/90)

In your .emacs file, simply put (setq load-path (append load-path
'("new path"))).

void gnus::signature();

stephena@spock (Stephen Anderson) (02/02/90)

With 18.55, we use the following line in our .login:

setenv EMACSLOADPATH /usr/tools/lib/emacs/lisp/local:/usr/tools/lib/emacs/lisp

very obvious (I looked in the source code).

sja.
uunet!mitel!spock!stephena