; ;; -batch gets filtered out.
; (nthcdr 3 command-line-args))))
-(let ((build-root (expand-file-name ".." invocation-directory)))
- (setq load-path (list (expand-file-name "lisp" build-root))))
+(setq load-path (split-path (getenv "EMACSBOOTSTRAPLOADPATH")))
(load "very-early-lisp" nil t)
(load "setup-paths.el")
(load "dump-paths.el")
-(let ((autol (packages-list-autoloads (concat default-directory "../lisp"))))
+(let ((autol (packages-list-autoloads)))
;; (print (prin1-to-string autol))
(while autol
(let ((src (car autol)))
;; (print (prin1-to-string update-elc-files-to-compile))
(let (preloaded-file-list site-load-packages)
- (load (expand-file-name "../lisp/dumped-lisp.el"))
+ (load (concat default-directory "../lisp/dumped-lisp.el"))
;; Path setup
(let ((package-preloaded-file-list