changeset 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 ae5f077a6dd9
children d805c7159bbe
files lisp/ChangeLog lisp/package-get.el
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Jul 05 21:52:19 2003 +0000
+++ b/lisp/ChangeLog	Sun Jul 06 18:12:33 2003 +0000
@@ -1,3 +1,8 @@
+2003-07-06  Adrian Aichner  <adrian@xemacs.org>
+
+	* package-get.el (package-get-package-index-file-location): Handle
+	missing "EMACSPACKAGEPATH" environment variable.
+
 2003-07-05  Adrian Aichner  <adrian@xemacs.org>
 
 	* package-admin.el (package-admin-find-top-directory): Simplify
--- a/lisp/package-get.el	Sat Jul 05 21:52:19 2003 +0000
+++ b/lisp/package-get.el	Sun Jul 06 18:12:33 2003 +0000
@@ -171,8 +171,7 @@
 
 ;;;###autoload
 (defcustom package-get-package-index-file-location 
-  (or (car (split-path (getenv "EMACSPACKAGEPATH")))
-      user-init-directory)
+  (car (split-path (or (getenv "EMACSPACKAGEPATH") user-init-directory)))
   "*The directory where the package-index file can be found."
   :type 'directory
   :group 'package-get)