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:
parent
0610e6f9f1
commit
0e3b67e3a3
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue