changeset 2252:cd15d235fdeb

[xemacs-hg @ 2004-09-07 00:08:15 by youngs] 2004-09-07 Steve Youngs <steve@youngs.au.com> * packages.el (package-require): Fix incorrect arg to format. This fixes a `format specifier' error.
author youngs
date Tue, 07 Sep 2004 00:08:19 +0000
parents 337c9b801ffa
children d5f3c86c0ee3
files lisp/ChangeLog lisp/packages.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Sep 06 21:50:18 2004 +0000
+++ b/lisp/ChangeLog	Tue Sep 07 00:08:19 2004 +0000
@@ -1,3 +1,8 @@
+2004-09-07  Steve Youngs  <steve@youngs.au.com>
+
+	* packages.el (package-require): Fix incorrect arg to format.
+	This fixes a `format specifier' error.
+
 2004-08-15  Jan Rychter <jwr@xemacs.org>
 
 	* window-xemacs.el (really-set-window-configuration): deal
--- a/lisp/packages.el	Mon Sep 06 21:50:18 2004 +0000
+++ b/lisp/packages.el	Tue Sep 07 00:08:19 2004 +0000
@@ -140,7 +140,7 @@
 	  ((< (package-get-key name :version) version)
 	   (error 'search-failed
 		  (format "Need version %g of package %s, got version %g"
-			  version name (cdr pkg))))
+			  version name (package-get-key name :version))))
 	  (t t))))
 
 (defun package-delete-name (name)