mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 08:11:05 -08:00
* lisp/emacs-lisp/package.el (package--prepare-dependencies):
Accept requirements without explicit version. Fixes: debbugs:14941
This commit is contained in:
parent
acc112c7a7
commit
0d71dfb381
2 changed files with 7 additions and 0 deletions
|
|
@ -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))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue