all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.