Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bot] built_in_updates #16757

Merged
merged 1 commit into from
Dec 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions core/libs/package-build.el
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ Use a sandbox if `package-build--use-sandbox' is non-nil."
;;; Generate Files

(defvar package-build--extras
'((:url url)
'((:url webpage)
(:commit commit)
(:revdesc revdesc)
(:keywords keywords)
Expand Down Expand Up @@ -1236,10 +1236,12 @@ is the same as the value of `export_file_name'."
(package-read-from-string
(string-join require-lines " ")))))))
(oset rcp webpage
(if (fboundp 'lm-website)
(lm-website)
(with-no-warnings
(lm-homepage))))
(or (if (fboundp 'lm-website)
(lm-website)
(with-no-warnings
(lm-homepage)))
(and-let* ((format (oref rcp repopage-format)))
(format format (oref rcp repo)))))
(oset rcp keywords (lm-keywords-list))
(oset rcp maintainers
(if (fboundp 'lm-maintainers)
Expand Down
4 changes: 2 additions & 2 deletions core/libs/package-recipe.el
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@
"Return a list of the names of packages with available recipes."
(directory-files package-build-recipes-dir nil "^[^.]"))

(defun package-recipe-read-name ()
(defun package-recipe-read-name (&optional prompt)
"Read the name of a package for which a recipe is available."
(completing-read "Package: " (package-recipe-recipes)))
(completing-read (or prompt "Package: ") (package-recipe-recipes)))

(defun package-recipe-lookup (name)
"Return a recipe object for the package named NAME.
Expand Down
Loading