summaryrefslogtreecommitdiff
path: root/doc/lispref/internals.texi
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-12-13 13:25:30 -0500
committerGlenn Morris <rgm@gnu.org>2013-12-13 13:25:30 -0500
commit06a4f1102f40c2cb7ffa035b4f16b9039efaf95b (patch)
treec365de8bc1db6dc73f2dc8b50a5b49488220bbd6 /doc/lispref/internals.texi
parent978a5fdaa35e8945920ab194213715e6f1f0bc20 (diff)
downloademacs-06a4f1102f40c2cb7ffa035b4f16b9039efaf95b.tar.gz
Unconditionally reset load-path after dumping
* src/lread.c: (dump_path): Remove. (load-path-default): Remove `changed' argument. Do not set dump_path permanently. Simplify. (init_lread): Simplify. (syms_of_lread): Remove dump_path. * lisp/loadup.el (load-path): Warn if site-load or site-init changes it. No more need to reset it when bootstrapping. * doc/lispref/internals.texi (Building Emacs): * doc/lispref/loading.texi (Library Search): Mention that site-load, site-init cannot change load-path. * INSTALL: No longer mention load-path and site-init/site-load. * etc/NEWS: Mention this. Fixes: debbugs:16107
Diffstat (limited to 'doc/lispref/internals.texi')
-rw-r--r--doc/lispref/internals.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi
index 06375c1e18e..8cbf3c4e14c 100644
--- a/doc/lispref/internals.texi
+++ b/doc/lispref/internals.texi
@@ -116,6 +116,11 @@ time.)
expect in an ordinary unmodified Emacs. If you feel you must override
normal features for your site, do it with @file{default.el}, so that
users can override your changes if they wish. @xref{Startup Summary}.
+Note that if either @file{site-load.el} or @file{site-init.el} changes
+@code{load-path}, the changes will be lost after dumping.
+@xref{Library Search}. To make a permanent change to
+@code{load-path}, use the @option{--enable-locallisppath} option
+of @command{configure}.
In a package that can be preloaded, it is sometimes necessary (or
useful) to delay certain evaluations until Emacs subsequently starts