diff lisp/make-docfile.el @ 402:5a2589c672dc r21-2-31

Import from CVS: tag r21-2-31
author cvs
date Mon, 13 Aug 2007 11:14:58 +0200
parents 74fd4e045ea6
children b8cc9ab3f761
line wrap: on
line diff
--- a/lisp/make-docfile.el	Mon Aug 13 11:14:35 2007 +0200
+++ b/lisp/make-docfile.el	Mon Aug 13 11:14:58 2007 +0200
@@ -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)
 
@@ -86,10 +87,6 @@
 (load "setup-paths.el")
 (load "dump-paths.el")
 
-(setq
- load-path
- (nconc load-path (split-path (getenv "EMACSBOOTSTRAPLOADPATH"))))
-
 (let (preloaded-file-list)
   (load (expand-file-name "../lisp/dumped-lisp.el"))