* custom.texi (Init Examples): Add example of changing load-path.
authorChong Yidong <cyd@stupidchicken.com>
Thu, 4 Jun 2009 03:13:28 +0000 (03:13 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 4 Jun 2009 03:13:28 +0000 (03:13 +0000)
doc/emacs/ChangeLog
doc/emacs/custom.texi

index 190ba5f..4d2b91d 100644 (file)
@@ -1,5 +1,7 @@
 2009-06-04  Chong Yidong  <cyd@stupidchicken.com>
 
+       * custom.texi (Init Examples): Add example of changing load-path.
+
        * building.texi (Lisp Libraries): Add example of changing
        load-path (Bug#3446).
 
index 5cfc19c..f0a6385 100644 (file)
@@ -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.