[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/package-vc-fixes e8043ebc57 03/48: Rename '-ensure-packages' to
From: |
Philip Kaludercic |
Subject: |
scratch/package-vc-fixes e8043ebc57 03/48: Rename '-ensure-packages' to -install-selected-packages' |
Date: |
Wed, 16 Nov 2022 04:49:58 -0500 (EST) |
branch: scratch/package-vc-fixes
commit e8043ebc575d9f7449a035bc3508d4cf8d6128fa
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Rename '-ensure-packages' to -install-selected-packages'
* doc/emacs/package.texi (Fetching Package Sources): Rename instances.
* lisp/emacs-lisp/package-vc.el (package-vc-ensure-packages): Rename
to 'package-vc-install-selected-packages'.
(package-vc-selected-packages): Call renamed function.
---
doc/emacs/package.texi | 6 +++---
lisp/emacs-lisp/package-vc.el | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi
index f9fa28074f..a0f02f38b7 100644
--- a/doc/emacs/package.texi
+++ b/doc/emacs/package.texi
@@ -559,7 +559,7 @@ package, without adding it to the package list, use
@code{package-vc-checkout}.
@vindex package-vc-selected-packages
-@findex package-vc-ensure-packages
+@findex package-vc-install-selected-packages
An alternative way to use @code{package-vc-install} is via the
@code{package-vc-selected-packages} user option. This is an alist of
packages to install, where each key is a package name and the value is
@@ -567,8 +567,8 @@ packages to install, where each key is a package name and
the value is
indicating a specific revision or a package specification plist. The
side effect of setting the user option is to install the package, but
the process can also be manually triggered using the function
-@code{package-vc-ensure-packages}. Here is an example of how the user
-option:
+@code{package-vc-install-selected-packages}. Here is an example of
+how the user option:
@example
@group
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index 505d258969..8acaf16927 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -118,7 +118,7 @@ the `clone' function."
:version "29.1")
(defvar package-vc-selected-packages) ; pacify byte-compiler
-(defun package-vc-ensure-packages ()
+(defun package-vc-install-selected-packages ()
"Ensure packages specified in `package-vc-selected-packages' are installed."
(pcase-dolist (`(,name . ,spec) package-vc-selected-packages)
(when (stringp name)
@@ -162,7 +162,7 @@ function `package-vc-selected-packages' to apply the
changes."
(:vc-backend symbol)))))
:set (lambda (sym val)
(custom-set-default sym val)
- (package-vc-ensure-packages))
+ (package-vc-install-selected-packages))
:version "29.1")
(defvar package-vc--archive-spec-alist nil
- scratch/package-vc-fixes 9ca8236a03 33/48: * lisp/vc/vc.el (vc-default-last-change): Use 'vc-call', (continued)
- scratch/package-vc-fixes 9ca8236a03 33/48: * lisp/vc/vc.el (vc-default-last-change): Use 'vc-call', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 42b01caac1 39/48: Avoid updating non-source packages in 'package-vc-update-all', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes bef3acf0f0 31/48: Explain that 'package-vc-install' doesn't remove tarball packages, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 58e2e8cced 44/48: ; * lisp/emacs-lisp/package-vc.el: Update TODO, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 2e007c62f3 14/48: Track 'default-directory' while updating source packages, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 3046447102 22/48: ; Assert that 'package-lisp-dir' is used with real packages, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 78830856bc 28/48: Rename 'package-vc-refresh' to 'package-vc-rebuild', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 2024a01fdc 30/48: Mention package name when package is lacking VC data, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 6080b169f3 47/48: Avoid duplicate source packages in 'package-alist', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 9bbfdbba24 06/48: Mark 'package-vc-update' as interactive, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes e8043ebc57 03/48: Rename '-ensure-packages' to -install-selected-packages',
Philip Kaludercic <=
- scratch/package-vc-fixes 155c3673d7 13/48: Allow specifying a :lisp-dir for package descriptions, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 4b0a5e30b9 16/48: Fix type error in package-vc prompt function, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 7ee6f3e32d 20/48: Fix 'package-vc-install-selected-packages' recursive load, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 3dc2ec3fce 21/48: Make documentation building for source packages more robust, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 692edc9e72 26/48: Have 'package-vc-selected-packages' consider all installed packages, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 1a3b38f8b9 41/48: Remove duplicate package descriptions after updating, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes d744f988f3 42/48: Only fetch elpa-packages.eld when necessary, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes b8f6ce839a 43/48: Allow the direct installation of package specifications, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 18ee1e728a 48/48: Ensure 'package-vc-prepare-patch' runs in the right directory, Philip Kaludercic, 2022/11/16