diff options
| author | Glenn Morris | 2013-11-24 19:10:54 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-11-24 19:10:54 -0800 |
| commit | 1b98c9ab5c15499cf8825166bdca58051eabd3e6 (patch) | |
| tree | f0beecb6683f5341860d43c7d81ada9d73d119e9 /src | |
| parent | 511fa0d3963313274ae2b74fc26fde52ddbddb42 (diff) | |
| download | emacs-1b98c9ab5c15499cf8825166bdca58051eabd3e6.tar.gz emacs-1b98c9ab5c15499cf8825166bdca58051eabd3e6.zip | |
src/lread.c comment
Diffstat (limited to 'src')
| -rw-r--r-- | src/lread.c | 8 |
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))) |