X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=lisp%2Fmake-docfile.el;h=730a9419a54a38cc49d4cbf6c486cbe33a2bd2ed;hp=3b77495fa1e003350e866f33bd2bc76bc8c8046f;hb=b0360c4503dfc01c7b7e75e6170c32aa7d267291;hpb=afa9772e3fcbb4e80e3e4cfd1a40b4fccc6d08b8 diff --git a/lisp/make-docfile.el b/lisp/make-docfile.el index 3b77495..730a941 100644 --- a/lisp/make-docfile.el +++ b/lisp/make-docfile.el @@ -75,7 +75,8 @@ (setq command-line-args (cdr command-line-args))) ;; Then process the list of Lisp files. -(setq load-path (split-path (getenv "EMACSBOOTSTRAPLOADPATH"))) +(let ((build-root (expand-file-name ".." invocation-directory))) + (setq load-path (list (expand-file-name "lisp" build-root)))) (load "very-early-lisp" nil t) @@ -85,10 +86,8 @@ (load "packages.el") (load "setup-paths.el") (load "dump-paths.el") - -(setq - load-path - (nconc load-path (split-path (getenv "EMACSBOOTSTRAPLOADPATH")))) +(require 'custom) +(load "process") (let (preloaded-file-list) (load (expand-file-name "../lisp/dumped-lisp.el"))