From: Tom Willemse Date: Thu, 13 Mar 2014 13:34:01 +0000 (-0400) Subject: * lisp/emacs-lisp/package.el (package--prepare-dependencies): X-Git-Tag: emacs-24.3.90~198 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0d71dfb381a49ba12fe2af39ed11c945e982a203;p=emacs.git * lisp/emacs-lisp/package.el (package--prepare-dependencies): Accept requirements without explicit version. Fixes: debbugs:14941 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d051434bb31..e3589f888a9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-03-13 Tom Willemse (tiny change) + + * emacs-lisp/package.el (package--prepare-dependencies): + Accept requirements without explicit version (bug#14941). + 2014-03-12 Juanma Barranquero * register.el (register-separator, copy-to-register): Doc fixes. diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index b15ae6f1376..53d72f9a8dc 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -1128,6 +1128,8 @@ is wrapped around any parts requiring it." ((symbolp dep) `(,dep "0")) ((stringp dep) (error "Invalid requirement specifier: %S" dep)) + ((and (listp dep) (null (cdr dep))) + (list (car dep) "0")) (t dep))) deps))))