mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-09 23:01:50 -07:00
Fix computation of package description file
* lisp/subr.el (package--description-file): Do not expect non-numeric version components to be followed directly by a number. (Bug#80744)
This commit is contained in:
parent
b6e7c7d43b
commit
dedd652fc5
1 changed files with 1 additions and 1 deletions
|
|
@ -7625,7 +7625,7 @@ as a list.")
|
|||
(directory-file-name dir))))
|
||||
;; This needs to match only the version strings that can be
|
||||
;; generated by `package-version-join'.
|
||||
(if (string-match "\\([^.].*?\\)-\\([0-9]+\\(?:[.][0-9]+\\|\\(?:pre\\|beta\\|alpha\\|snapshot\\)[0-9]+\\)*\\)\\'" subdir)
|
||||
(if (string-match "\\([^.].*?\\)-\\([0-9]+\\(?:[.][0-9]+\\|\\(?:pre\\|beta\\|alpha\\|snapshot\\)[0-9]*\\)*\\)\\'" subdir)
|
||||
(match-string 1 subdir) subdir))
|
||||
"-pkg.el"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue