diff lisp/dump-paths.el @ 424:11054d720c21 r21-2-20

Import from CVS: tag r21-2-20
author cvs
date Mon, 13 Aug 2007 11:26:11 +0200
parents 697ef44129c6
children
line wrap: on
line diff
--- a/lisp/dump-paths.el	Mon Aug 13 11:25:03 2007 +0200
+++ b/lisp/dump-paths.el	Mon Aug 13 11:26:11 2007 +0200
@@ -39,7 +39,12 @@
       (princ (format "XEmacs thinks the roots of its hierarchy are:\n%S\n"
 		     roots)))
 
-  (let ((stuff (packages-find-packages roots)))
+  (let* ((package-locations
+	  (packages-compute-package-locations
+	   ;; temporary kludge:
+	   ;; this should be synched with startup.el
+	   (paths-construct-path '("~" ".xemacs"))))
+	 (stuff (packages-find-packages roots package-locations)))
     (setq late-packages (car (cdr stuff))))
 
   (setq late-package-load-path (packages-find-package-load-path late-packages))