🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #7934

Re: Setting load-path

#7934
From: Stephen Gildea
Date: Mon, 21 Nov 1988 23:07
14 lines
998 bytes
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
Technical Details
Message-ID: <8811212158.AA05608@EDDIE.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!rutgers!mit-eddie!ALEXANDER.BBN.COM!gildea

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!rutgers!mit-eddie!ALEXANDER.BBN.COM!gildea
From: gildea@ALEXANDER.BBN.COM (Stephen Gildea)
Newsgroups: comp.emacs
Subject: Re: Setting load-path
Message-ID: <8811212158.AA05608@EDDIE.MIT.EDU>
Date: 21 Nov 88 23:07:22 GMT
Sender: daemon@eddie.MIT.EDU
Lines: 14