From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Nobuko Three <nbko3@yahoo.com>
Cc: Help-gnu-emacs@gnu.org
Subject: Re: two ways of adding a path to the list variable load-path. equivalent?
Date: Tue, 19 May 2009 20:17:12 +0200 [thread overview]
Message-ID: <543A041F-C252-4A7F-B002-4E889EEE49DB@Web.DE> (raw)
In-Reply-To: <23620963.post@talk.nabble.com>
Am 19.05.2009 um 19:33 schrieb Nobuko Three:
> (setq load-path (cons "~/elisp/" load-path))
>
> 2.
> (add-to-list 'load-path "~/elisp/")
The latter does *not* add the new element on top when this element
already exists somewhere in the list. So the latter form is preferable.
--
Greetings
Pete
Hard Disk, n.:
A device that allows users to delete vast quantities
of data with simple mnemonic commands.
next prev parent reply other threads:[~2009-05-19 18:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-19 17:33 two ways of adding a path to the list variable load-path. equivalent? Nobuko Three
2009-05-19 18:17 ` Peter Dyballa [this message]
2009-05-22 3:45 ` Kevin Rodgers
2009-05-20 8:48 ` Ralf Mattes
2009-05-20 12:50 ` Nikolaj Schumacher
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=543A041F-C252-4A7F-B002-4E889EEE49DB@Web.DE \
--to=peter_dyballa@web.de \
--cc=Help-gnu-emacs@gnu.org \
--cc=nbko3@yahoo.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).