Article View: gnu.emacs.bug
Article #99675Re: How does the load-path variable work?
From: Dave Brennan
Date: Sun, 01 Jul 1990 19:42
Date: Sun, 01 Jul 1990 19:42
19 lines
1856 bytes
1856 bytes
In article <9006182036.AA13225@bach.cs.byu.edu> mike@BACH.CS.BYU.EDU (Mike Burbidge) writes:
I created a directory in my home directory that I want to contain
compiled elisp files that I have written myself. By setting the
load-path variable appropriately in my .emacs file will emacs
automatically load files ending in .elc in the specified directories?
^^^^^^^^^^^^^
This is what I assume and it doesn't work.
Although the suggestions presented in other replies to this article were
valid, I think perhaps the authors missed a point. Emacs will only load
your lisp files if you tell it to do so. There are a number of ways, so I
suggest you look up `autoload,' `load-library,' and `require' to determine
which best suits your needs.
|\
Dave Brennan | \____oo_ brennan@rtp.dg.com
=========================================((__| /___> ...rti!dg-rtp!brennan
User Interfaces, Data General | // daveb@rpitsmts.bitnet
Research Triangle Park, NC |// Phone: (919) 248-6330
Technical Details
Message-ID:
<BRENNAN.90Jul1154251@bach.rtp.dg.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!dg-rtp!dg-rtp!brennanReferences:
<9006182036.AA13225@bach.cs.byu.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,49554ca639f69ecd X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-07-01 16:21:47 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!dg-rtp!dg-rtp!brennan From: brennan@rtp.dg.com (Dave Brennan) Newsgroups: gnu.emacs.bug Subject: Re: How does the load-path variable work? Message-ID: <BRENNAN.90Jul1154251@bach.rtp.dg.com> Date: 1 Jul 90 19:42:51 GMT References: <9006182036.AA13225@bach.cs.byu.edu> Sender: usenet@dg-rtp.dg.com (Usenet Administration) Followup-To: gnu.emacs Distribution: gnu Organization: Data General, RTP, NC Lines: 19 Posted: Sun Jul 1 20:42:51 1990 In-Reply-To: mike@BACH.CS.BYU.EDU's message of 18 Jun 90 20:36:25 GMT