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

* lisp/emacs-lisp/package-vc.el (package-vc-refresh): Add function.

This commit is contained in:
Philip Kaludercic 2022-10-12 21:21:38 +02:00
parent 0610e6f9f1
commit 0e3b67e3a3
No known key found for this signature in database
GPG key ID: F2C3CC513DB89F66

View file

@ -353,6 +353,11 @@ be requested using REV."
:kind 'vc)
pkg-dir)))
(defun package-vc-refresh (pkg-desc)
"Refresh the installation for PKG-DESC."
(interactive (package-vc-read-pkg "Refresh package: "))
(package-vc-unpack-1 pkg-desc (package-desc-dir pkg-desc)))
(defun package-vc-read-pkg (prompt)
"Query for a source package description with PROMPT."
(cadr (assoc (completing-read