* lisp/emacs-lisp/package.el (package-strip-rcs-id): Don't ignore errors
Ignoring errors here just postpones the error and replaces a clear "invalid version syntax" with a confusing "package lacks a version".
This commit is contained in:
parent
abd15e088e
commit
932cb10761
1 changed files with 1 additions and 2 deletions
|
@ -2112,8 +2112,7 @@ Otherwise return nil."
|
|||
(when str
|
||||
(when (string-match "\\`[ \t]*[$]Revision:[ \t]+" str)
|
||||
(setq str (substring str (match-end 0))))
|
||||
(ignore-errors
|
||||
(if (version-to-list str) str))))
|
||||
(if (version-to-list str) str)))
|
||||
|
||||
(declare-function lm-homepage "lisp-mnt" (&optional file))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue