Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!ALEXANDER.BBN.COM!gildea From: gildea@ALEXANDER.BBN.COM (Stephen Gildea) Newsgroups: gnu.emacs Subject: Re: Setting load-path Message-ID: <8811212150.AA00409@prep.ai.mit.edu> Date: 21 Nov 88 21:07:36 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 14 There are some initializations that are done after the .emacs file is read. These include terminal-dependent initializations and creating the *scratch* buffer. This is why the form (text-mode) seems to have no effect in a .emacs file. See the function command-line in lisp/startup.el for details. The original question, from Dave Sill, why setting load-path in a file loaded with the -load command-line option doesn't work, seems to point to a bug in Emacs. During the loading of a file with -load, the variable load-path is locally bound, thus any attempt to set it from the loaded file will be undone as soon as the file is finished loading. < Stephen