comparison lisp/packages.el @ 4092:9c0151d05116

[xemacs-hg @ 2007-08-02 06:33:04 by michaels] 2007-07-31 Mike Sperber <mike@xemacs.org> * configure.ac: Don't divert `share' to `lib' for datadir. Also, define AC_DATAROOTDIR_CHECKED to shut up autoconf. 2007-07-31 Mike Sperber <mike@xemacs.org> * find-paths.el (paths-for-each-site-directory): (paths-find-site-directory): (paths-find-site-directories): (paths-for-each-version-directory): (paths-find-version-directory): (paths-find-version-directories): Add `arch-dependent-p' argument to distinguish between `lib' and `share'. (paths-find-architecture-directory): Follow above change. * packages.el (packages-find-installation-package-directories): Ditto. * setup-paths.el (paths-find-site-lisp-directory): (paths-find-site-module-directory): (paths-find-lisp-directory): (paths-find-mule-lisp-directory): (paths-find-module-directory): (paths-find-data-directory): Ditto.
author michaels
date Thu, 02 Aug 2007 06:33:59 +0000
parents 072ccc89ac3c
children 5da4cc7d5968
comparison
equal deleted inserted replaced
4091:7b78a0e97947 4092:9c0151d05116
384 (apply consumer list)) 384 (apply consumer list))
385 385
386 (defun packages-find-installation-package-directories (roots) 386 (defun packages-find-installation-package-directories (roots)
387 "Find the package directories in the XEmacs installation. 387 "Find the package directories in the XEmacs installation.
388 ROOTS is a list of installation roots." 388 ROOTS is a list of installation roots."
389 (paths-uniq-append (paths-find-version-directories roots "" nil nil t) 389 (paths-uniq-append (paths-find-version-directories roots "" nil nil nil t)
390 (paths-find-site-directories roots ""))) 390 (paths-find-site-directories roots "" nil)))
391 391
392 (defun packages-find-package-hierarchies (package-directories &optional envvar default) 392 (defun packages-find-package-hierarchies (package-directories &optional envvar default)
393 "Find package hierarchies in a list of package directories. 393 "Find package hierarchies in a list of package directories.
394 PACKAGE-DIRECTORIES is a list of package directories. 394 PACKAGE-DIRECTORIES is a list of package directories.
395 DEFAULT is a default list of package hierarchies. 395 DEFAULT is a default list of package hierarchies.