[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14941: [Patch] Lighten up wrt version specification
From: |
Stefan Monnier |
Subject: |
bug#14941: [Patch] Lighten up wrt version specification |
Date: |
Thu, 13 Mar 2014 09:35:48 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> @@ -1128,6 +1128,8 @@
> ((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))))
I installed this hunk, but not the other. If a "Version:" header is
missing, it should stay as an error, because package.el relies heavily
on version numbers. And if the user can write "Version:" she can just
as easily write "Version:0".
Stefan
- bug#14941: [Patch] Lighten up wrt version specification,
Stefan Monnier <=