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

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

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


From: Nobuko Three
Subject: two ways of adding a path to the list variable load-path. equivalent?
Date: Tue, 19 May 2009 10:33:09 -0700 (PDT)

1.
(setq load-path (cons "~/elisp/" load-path))

2.
(add-to-list 'load-path "~/elisp/")

Are there any situation where one would prefer one over another?
-- 
View this message in context: 
http://www.nabble.com/two-ways-of-adding-a-path-to-the-list-variable-load-path.-equivalent--tp23620963p23620963.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





reply via email to

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