From: Chong Yidong Date: Thu, 4 Jun 2009 03:13:28 +0000 (+0000) Subject: * custom.texi (Init Examples): Add example of changing load-path. X-Git-Tag: emacs-pretest-23.0.95~141 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=910565284a6fd361708d559abc3b06037f197e21;p=emacs.git * custom.texi (Init Examples): Add example of changing load-path. --- diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 190ba5ff8ee..4d2b91dd785 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,5 +1,7 @@ 2009-06-04 Chong Yidong + * custom.texi (Init Examples): Add example of changing load-path. + * building.texi (Lisp Libraries): Add example of changing load-path (Bug#3446). diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index 5cfc19cc1d8..f0a63855f2d 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi @@ -2233,6 +2233,15 @@ Write a single-quote (@code{'}) followed by the Lisp object you want. Lisp expressions: @itemize @bullet +@item +Add a directory to the variable @code{load-path}. You can then put +Lisp libraries that are not included with Emacs in this directory, and +load them with @kbd{M-x load-library}. @xref{Lisp Libraries}. + +@example +(add-to-list 'load-path "/path/to/lisp/libraries") +@end example + @item Make @key{TAB} in C mode just insert a tab if point is in the middle of a line.