1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-09 15:50:40 -08:00

; * package-vc.el (package-vc-read-pkg): Return package description

This commit is contained in:
Philip Kaludercic 2022-10-07 18:59:42 +02:00
parent f9065c7951
commit 077c1533df
No known key found for this signature in database
GPG key ID: F2C3CC513DB89F66

View file

@ -288,11 +288,13 @@ be requested using REV."
(defun package-vc-read-pkg (prompt)
"Query for a source package description with PROMPT."
(completing-read
prompt
package-alist
(lambda (pkg) (package-vc-p (cadr pkg)))
t))
(cadr (assoc (completing-read
prompt
package-alist
(lambda (pkg) (package-vc-p (cadr pkg)))
t)
package-alist
#'string=)))
(defun package-vc-prepare-patch (pkg subject revisions)
"Send a patch to the maintainer of a package PKG.