comparison lisp/package-get.el @ 1563:dc1a3d060f4f

[xemacs-hg @ 2003-07-06 18:12:33 by adrian] xemacs-21.5: fix package-get-package-index-file-location fix -------------------- ChangeLog entries follow: -------------------- lisp/ChangeLog addition: 2003-07-06 Adrian Aichner <adrian@xemacs.org> * package-get.el (package-get-package-index-file-location): Handle missing "EMACSPACKAGEPATH" environment variable.
author adrian
date Sun, 06 Jul 2003 18:12:33 +0000
parents 6f4c71266175
children 5d8dcaecc32b
comparison
equal deleted inserted replaced
1562:ae5f077a6dd9 1563:dc1a3d060f4f
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 (car (split-path (getenv "EMACSPACKAGEPATH"))) 174 (car (split-path (or (getenv "EMACSPACKAGEPATH") user-init-directory)))
175 user-init-directory)
176 "*The directory where the package-index file can be found." 175 "*The directory where the package-index file can be found."
177 :type 'directory 176 :type 'directory
178 :group 'package-get) 177 :group 'package-get)
179 178
180 ;;;###autoload 179 ;;;###autoload