comparison lisp/package-get.el @ 3179:15139dbf89f4

[xemacs-hg @ 2005-12-27 18:50:47 by michaels] This: 2005-11-25 Mike Sperber <mike@xemacs.org> * CHANGES-beta: * configure.ac: Zap --with-package-prefix; instead, add --with-user-packages/--with-early-packages, --with-system-packages/--with-late-packages, and --with-legacy-packages/--with-last-packages. ... and the changes that result from it throughout the code.
author michaels
date Tue, 27 Dec 2005 18:51:30 +0000
parents 66c42fc5d26b
children 65264c66457b
comparison
equal deleted inserted replaced
3178:632fdf307588 3179:15139dbf89f4
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 (car (split-path (or (getenv "EMACSPACKAGEPATH") user-init-directory))) 174 (cond
175 ;; historical backage
176 ((getenv "EMACSPACKAGEPATH")
177 (split-path (getenv "EMACSPACKAGEPATH")))
178 ((getenv "EMACSEARLYPACKAGES")
179 (split-path (getenv "EMACSEARLYPACKAGES")))
180 (configure-early-package-directories
181 (car configure-early-package-directories))
182 (t
183 user-init-directory))
175 "*The directory where the package-index file can be found." 184 "*The directory where the package-index file can be found."
176 :type 'directory 185 :type 'directory
177 :group 'package-get) 186 :group 'package-get)
178 187
179 ;;;###autoload 188 ;;;###autoload