From 910565284a6fd361708d559abc3b06037f197e21 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Thu, 4 Jun 2009 03:13:28 +0000 Subject: [PATCH] * custom.texi (Init Examples): Add example of changing load-path. --- doc/emacs/ChangeLog | 2 ++ doc/emacs/custom.texi | 9 +++++++++ 2 files changed, 11 insertions(+) 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. -- 2.39.5