From: Michael Slass <miknrene@drizzle.com>
Subject: Re: How to customize load-path in v21.2.1?
Date: Tue, 29 Oct 2002 17:32:51 GMT [thread overview]
Message-ID: <m3smypduac.fsf@localhost.localdomain> (raw)
In-Reply-To: apmfg1$b9l$2@reader1.panix.com
Da Witch <heather710101@yahoo.com> writes:
>The transition from 20.7.2 to 21.2.1 is turning out to be painful...
>
>How do I customize load-path in 21.2.1? describe-variable suggests
>that it is no longer customizable...
>
>hk
>
I'm not sure why it's not customizeable any more, but here's one way
to do it programmatically.
(mapcar
(lambda (dir)
(add-to-list 'load-path dir))
;; these directories get added to the front of the load-path
'("/path/to/dir"
"/path/to/another/dir"
;; add more load-path directories here
))
(mapcar
(lambda (dir)
(add-to-list 'load-path dir t))
;; these directories get added to the end of the load-path
'("/path/to/yet/another/dir"
"/path/to/still/another/dir"
;; add more load-path directories here
))
--
Mike Slass
next prev parent reply other threads:[~2002-10-29 17:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-29 17:11 How to customize load-path in v21.2.1? Da Witch
2002-10-29 17:32 ` Michael Slass [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-10-29 18:08 Bingham, Jay
[not found] <mailman.1035914973.24180.help-gnu-emacs@gnu.org>
2002-10-29 18:21 ` Da Witch
2002-10-29 19:06 ` Stefan Monnier <foo@acm.com>
2002-10-29 21:22 ` Michael Slass
2002-10-29 20:13 Bingham, Jay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3smypduac.fsf@localhost.localdomain \
--to=miknrene@drizzle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).