diff options
| author | Glenn Morris | 2013-12-13 13:25:30 -0500 |
|---|---|---|
| committer | Glenn Morris | 2013-12-13 13:25:30 -0500 |
| commit | 06a4f1102f40c2cb7ffa035b4f16b9039efaf95b (patch) | |
| tree | c365de8bc1db6dc73f2dc8b50a5b49488220bbd6 /etc | |
| parent | 978a5fdaa35e8945920ab194213715e6f1f0bc20 (diff) | |
| download | emacs-06a4f1102f40c2cb7ffa035b4f16b9039efaf95b.tar.gz emacs-06a4f1102f40c2cb7ffa035b4f16b9039efaf95b.zip | |
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 'etc')
| -rw-r--r-- | etc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -77,6 +77,12 @@ was replaced by ".", so use an explicit "." now if that is what you want.) | |||
| 77 | will instead append, if the argument begins with `:' (or `;' on MS Windows; | 77 | will instead append, if the argument begins with `:' (or `;' on MS Windows; |
| 78 | i.e., `path-separator'). | 78 | i.e., `path-separator'). |
| 79 | 79 | ||
| 80 | +++ | ||
| 81 | ** If you use either site-load.el or site-init.el to customize the dumped | ||
| 82 | Emacs executable, any changes to `load-path' that these files make | ||
| 83 | will no longer be present after dumping. To affect a permanent change | ||
| 84 | to `load-path', use the `--enable-locallisppath' option of `configure'. | ||
| 85 | |||
| 80 | 86 | ||
| 81 | * Changes in Emacs 24.4 | 87 | * Changes in Emacs 24.4 |
| 82 | 88 | ||