diff options
Diffstat (limited to 'lisp/subr.el')
-rw-r--r-- | lisp/subr.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index da619fef147..fcfc396d140 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -5520,6 +5520,7 @@ NAME is the package name as a symbol, and VERSION is its version as a list.") (defun package--description-file (dir) + "Return package description file name for package DIR." (concat (let ((subdir (file-name-nondirectory (directory-file-name dir)))) (if (string-match "\\([^.].*?\\)-\\([0-9]+\\(?:[.][0-9]+\\|\\(?:pre\\|beta\\|alpha\\)[0-9]+\\)*\\)" subdir) |