Xref: utzoo gnu.emacs.help:1189 comp.emacs:10112 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!shelby!neon!crew From: crew@CS.Stanford.EDU (Roger Crew) Newsgroups: gnu.emacs.help,comp.emacs Subject: Re: appending to load-path Message-ID: <1991Feb17.024929.18259@Neon.Stanford.EDU> Date: 17 Feb 91 02:49:29 GMT References: <74918@bu.edu.bu.edu> Sender: news@Neon.Stanford.EDU (USENET News System) Organization: Standard Input Lines: 21 In-Reply-To: avi@bu-pub.bu.edu's message of 16 Feb 91 22:25:46 GMT In article <74918@bu.edu.bu.edu> avi@bu-pub.bu.edu (Avram Weiss) writes: > > I want to add a directory onto the existing load-path. so I have the > following entry in my .emacs file: > > (append load-path (list "/usr2/guest/avi/elisp")) > should be (setq load-path (append load-path (list "/usr2/guest/avi/elisp"))) though perhaps you want your files to take precedence over the standard distribution ones, in which case it should be (setq load-path (cons "/usr2/guest/avi/elisp" load-path)) -- Roger Crew ``I kill Optimax...'' Usenet: {arpa gateways, decwrl, uunet, rutgers}!cs.stanford.edu!crew Internet: crew@CS.Stanford.EDU