[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/package-vc-fixes 62cd4f04dc 3/3: * lisp/emacs-lisp/package-vc.el
From: |
Philip Kaludercic |
Subject: |
scratch/package-vc-fixes 62cd4f04dc 3/3: * lisp/emacs-lisp/package-vc.el: Autoload package-vc-update{, -all} |
Date: |
Thu, 17 Nov 2022 11:40:58 -0500 (EST) |
branch: scratch/package-vc-fixes
commit 62cd4f04dc56373fd487bb8fce73251c66f236be
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
* lisp/emacs-lisp/package-vc.el: Autoload package-vc-update{,-all}
---
lisp/emacs-lisp/package-vc.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index b8a192a2c5..e2845c6ef6 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -563,6 +563,7 @@ installed package."
(if installed package-alist package-archive-contents)
#'string=)))
+;;;###autoload
(defun package-vc-update-all ()
"Attempt to update all installed source packages."
(interactive)
@@ -571,6 +572,7 @@ installed package."
(when (package-vc-p pkg-desc)
(package-vc-update pkg-desc)))))
+;;;###autoload
(defun package-vc-update (pkg-desc)
"Attempt to update the package PKG-DESC."
(interactive (list (package-vc--read-package-desc "Update source package: "
t)))