aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lread.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lread.c b/src/lread.c
index dceeb43dff4..d8efae05471 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -4195,6 +4195,14 @@ load_path_default (bool changed)
4195 changed from the default that was saved before dumping, don't 4195 changed from the default that was saved before dumping, don't
4196 change it further. Changes can only be due to site-lisp 4196 change it further. Changes can only be due to site-lisp
4197 files that were processed during dumping. */ 4197 files that were processed during dumping. */
4198 /* FIXME? AFAICS, it does not make sense to change load-path in a
4199 dumped site-lisp file, so maybe we should just drop this check.
4200 E.g., if you add an element to load-path, you are going to be
4201 adding it to PATH_DUMPLOADSEARCH, which refers to the source directory.
4202 This will make no sense (and may not still exist) in an installed Emacs.
4203 And the only change it is sensible to make to load-path is to add
4204 something to the front, which you should do with configure's
4205 --enable-locallisppath option if you really want to have it dumped. */
4198 if (initialized) 4206 if (initialized)
4199 { 4207 {
4200 if (changed || NILP (Fequal (dump_path, Vload_path))) 4208 if (changed || NILP (Fequal (dump_path, Vload_path)))