HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make --no-site-lisp work for --enable-locallisppath elements
[bpt/emacs.git]
/
lisp
/
loadup.el
diff --git
a/lisp/loadup.el
b/lisp/loadup.el
index
3568171
..
11e5f1e
100644
(file)
--- a/
lisp/loadup.el
+++ b/
lisp/loadup.el
@@
-44,6
+44,10
@@
;; Add subdirectories to the load-path for files that might get
;; autoloaded when bootstrapping.
;; Add subdirectories to the load-path for files that might get
;; autoloaded when bootstrapping.
+;; This is because PATH_DUMPLOADSEARCH is just "../lisp".
+;; Note that we reset load-path below just before dumping,
+;; since lread.c:init_lread checks for changes to load-path
+;; in deciding whether to modify it.
(if (or (equal (nth 3 command-line-args) "bootstrap")
(equal (nth 4 command-line-args) "bootstrap")
(equal (nth 3 command-line-args) "unidata-gen.el")
(if (or (equal (nth 3 command-line-args) "bootstrap")
(equal (nth 4 command-line-args) "bootstrap")
(equal (nth 3 command-line-args) "unidata-gen.el")