summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/emacs/ChangeLog2
-rw-r--r--doc/emacs/custom.texi9
2 files changed, 11 insertions, 0 deletions
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 <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).
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
@@ -2234,6 +2234,15 @@ 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.