diff doc/emacs/custom.texi @ 103317:fd724c60cb3e

* custom.texi (Init Examples): Add example of changing load-path.
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 04 Jun 2009 03:13:28 +0000
parents cb5d2387102c
children 9124ec33358e
line wrap: on
line diff
--- a/doc/emacs/custom.texi	Thu Jun 04 03:07:17 2009 +0000
+++ b/doc/emacs/custom.texi	Thu Jun 04 03:13:28 2009 +0000
@@ -2234,6 +2234,15 @@
 
 @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.