Path: utzoo!utgpu!attcan!uunet!husc6!bbn!bbn.com!mgkelley From: mgkelley@bbn.com (Matthew G. Kelley) Newsgroups: comp.emacs Subject: Re: Setting load-path Message-ID: <32103@bbn.COM> Date: 10 Nov 88 13:37:29 GMT References: <32024@bbn.COM> <42619@yale-celray.yale.UUCP> Sender: news@bbn.COM Reply-To: mgkelley@BBN.COM (Matthew G. Kelley) Distribution: na Organization: Bolt Beranek and Newman Inc., Cambridge MA Lines: 20 [Suggestion to use (setq inhibit-default-init t) to avoid having load-path be reset after setting it in initialization.] I think that a better solution is to use set-variable instead of setq: (set-variable 'load-path ) This works because (I think) the real problem is actually that the symbol load-path is getting captured somewhere during the loading of the initialization file, with something like: (let ((load-path )) (... (setq load-path ))) When execution comes out of the let, the new value of load-path is lost. I'm sure this is what happens if a file is loaded with the -l option, but I can't find it for the initialization file. Matt