unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* two ways of adding a path to the list variable load-path. equivalent?
@ 2009-05-19 17:33 Nobuko Three
  2009-05-19 18:17 ` Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Nobuko Three @ 2009-05-19 17:33 UTC (permalink / raw)
  To: Help-gnu-emacs


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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-05-22  3:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2009-05-22  3:45   ` Kevin Rodgers
2009-05-20  8:48 ` Ralf Mattes
2009-05-20 12:50 ` Nikolaj Schumacher

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).