comparison lisp/package-get.el @ 1561:6f4c71266175

[xemacs-hg @ 2003-07-05 08:40:36 by adrian] xemacs-21.5: package installation fixes -------------------- ChangeLog entries follow: -------------------- lisp/ChangeLog addition: 2003-07-05 Adrian Aichner <adrian@xemacs.org> * package-admin.el (package-admin-find-top-directory): Simplify directory comparisions and fix substring errors on short path components. * package-get.el (package-get-package-index-file-location): Default to first component of "EMACSPACKAGEPATH", if set.
author adrian
date Sat, 05 Jul 2003 08:40:37 +0000
parents 410360d3e34e
children dc1a3d060f4f
comparison
equal deleted inserted replaced
1560:c69c3868eeeb 1561:6f4c71266175
169 :type 'directory 169 :type 'directory
170 :group 'package-get) 170 :group 'package-get)
171 171
172 ;;;###autoload 172 ;;;###autoload
173 (defcustom package-get-package-index-file-location 173 (defcustom package-get-package-index-file-location
174 (or (getenv "EMACSPACKAGEPATH") 174 (or (car (split-path (getenv "EMACSPACKAGEPATH")))
175 user-init-directory) 175 user-init-directory)
176 "*The directory where the package-index file can be found." 176 "*The directory where the package-index file can be found."
177 :type 'directory 177 :type 'directory
178 :group 'package-get) 178 :group 'package-get)
179 179