Mercurial > hg > xemacs-beta
diff lisp/make-docfile.el @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | b8cc9ab3f761 |
children | da8ed4261e83 |
line wrap: on
line diff
--- a/lisp/make-docfile.el Mon Aug 13 11:19:22 2007 +0200 +++ b/lisp/make-docfile.el Mon Aug 13 11:20:41 2007 +0200 @@ -3,7 +3,7 @@ ;; Copyright (C) 1985, 1986, 1992-1995, 1997 Free Software Foundation, Inc. ;; Author: Unknown -;; Maintainer: Steven L Baur <steve@xemacs.org> +;; Maintainer: Steven L Baur <steve@altair.xemacs.org> ;; Keywords: internal ;; This file is part of XEmacs. @@ -75,8 +75,7 @@ (setq command-line-args (cdr command-line-args))) ;; Then process the list of Lisp files. -(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) @@ -86,11 +85,13 @@ (load "packages.el") (load "setup-paths.el") (load "dump-paths.el") -(require 'custom) -(load "process") + +(setq + load-path + (nconc load-path (split-path (getenv "EMACSBOOTSTRAPLOADPATH")))) (let (preloaded-file-list) - (load (expand-file-name "../lisp/dumped-lisp.el")) + (load (concat default-directory "../lisp/dumped-lisp.el")) (let ((package-preloaded-file-list (packages-collect-package-dumped-lisps late-package-load-path)))