help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: two ways of adding a path to the list variable load-path. equivalent


From: Peter Dyballa
Subject: Re: two ways of adding a path to the list variable load-path. equivalent?
Date: Tue, 19 May 2009 20:17:12 +0200


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.








reply via email to

[Prev in Thread] Current Thread [Next in Thread]