Article View: gnu.emacs.bug
Article #99782Re: How does the load-path variable work?
From: Kyle Jones
Date: Tue, 19 Jun 1990 15:07
Date: Tue, 19 Jun 1990 15:07
14 lines
1242 bytes
1242 bytes
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. Assuming that you added the string to the list correctly, the problem is probably that you used ~ in the directory name. The `load' command doesn't expand tildes in directory names when doing searches for Lisp files. Use expand-file-name to expand the tilde, i.e. (setq load-path (cons (expand-file-name "~/e-lisp") load-path))
Technical Details
Message-ID:
<1990Jun19.150706.29408@talos.pm.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!uupsi!rpi!dali.cs.montana.edu!samsung!xanth!talos!kjonesReferences:
<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-06-19 08:07:06 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!uupsi!rpi!dali.cs.montana.edu!samsung!xanth!talos!kjones From: kjones@talos.pm.com (Kyle Jones) Newsgroups: gnu.emacs.bug Subject: Re: How does the load-path variable work? Message-ID: <1990Jun19.150706.29408@talos.pm.com> Date: 19 Jun 90 15:07:06 GMT References: <9006182036.AA13225@bach.cs.byu.edu> Lines: 14 Posted: Tue Jun 19 16:07:06 1990