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

Autoload 'package-vc-install-selected-packages'

* lisp/emacs-lisp/package-vc.el (package-vc-ensure-packages): Add an
autoload cookie.
(package-vc-selected-packages): Set
:initialize to 'custom-initialize-default'.
This commit is contained in:
Philip Kaludercic 2022-11-06 09:52:57 +01:00
parent e1ce202ad1
commit aadf07f5b8

View file

@ -118,6 +118,8 @@ the `clone' function."
:version "29.1")
(defvar package-vc-selected-packages) ; pacify byte-compiler
;;;###autoload
(defun package-vc-install-selected-packages ()
"Ensure packages specified in `package-vc-selected-packages' are installed."
(interactive)
@ -161,6 +163,7 @@ function `package-vc-selected-packages' to apply the changes."
(:lisp-dir string)
(:main-file string)
(:vc-backend symbol)))))
:initialize #'custom-initialize-default
:set (lambda (sym val)
(custom-set-default sym val)
(package-vc-install-selected-packages))