changeset 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 73c56f47ad80
children e47b96db18de
files doc/emacs/ChangeLog doc/emacs/custom.texi
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/emacs/ChangeLog	Thu Jun 04 03:07:17 2009 +0000
+++ b/doc/emacs/ChangeLog	Thu Jun 04 03:13:28 2009 +0000
@@ -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).
 
--- 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.