diff options
| author | Philip Kaludercic | 2026-04-12 12:37:01 +0200 |
|---|---|---|
| committer | Philip Kaludercic | 2026-04-12 12:37:58 +0200 |
| commit | dedd652fc58c2157e0c27df1ca2e5836a94ce641 (patch) | |
| tree | 7c42afa6ac9befbcf37cd409961463b070d566b8 | |
| parent | b6e7c7d43b431e846655d310c4c66413c8bf41a7 (diff) | |
| download | emacs-dedd652fc58c2157e0c27df1ca2e5836a94ce641.tar.gz emacs-dedd652fc58c2157e0c27df1ca2e5836a94ce641.zip | |
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)
| -rw-r--r-- | lisp/subr.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 036f414262a..d97598ab61f 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -7625,7 +7625,7 @@ as a list.") | |||
| 7625 | (directory-file-name dir)))) | 7625 | (directory-file-name dir)))) |
| 7626 | ;; This needs to match only the version strings that can be | 7626 | ;; This needs to match only the version strings that can be |
| 7627 | ;; generated by `package-version-join'. | 7627 | ;; generated by `package-version-join'. |
| 7628 | (if (string-match "\\([^.].*?\\)-\\([0-9]+\\(?:[.][0-9]+\\|\\(?:pre\\|beta\\|alpha\\|snapshot\\)[0-9]+\\)*\\)\\'" subdir) | 7628 | (if (string-match "\\([^.].*?\\)-\\([0-9]+\\(?:[.][0-9]+\\|\\(?:pre\\|beta\\|alpha\\|snapshot\\)[0-9]*\\)*\\)\\'" subdir) |
| 7629 | (match-string 1 subdir) subdir)) | 7629 | (match-string 1 subdir) subdir)) |
| 7630 | "-pkg.el")) | 7630 | "-pkg.el")) |
| 7631 | 7631 | ||