[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/package-vc-fixes c6425fd687: Rename 'package-vc-refresh' to 'pac
From: |
Philip Kaludercic |
Subject: |
scratch/package-vc-fixes c6425fd687: Rename 'package-vc-refresh' to 'package-vc-rebuild' |
Date: |
Sat, 12 Nov 2022 19:01:37 -0500 (EST) |
branch: scratch/package-vc-fixes
commit c6425fd687410d6699aaa1b1faa256c9d9570b45
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Rename 'package-vc-refresh' to 'package-vc-rebuild'
* doc/emacs/package.texi (Fetching Package Sources): Update documentation.
* lisp/emacs-lisp/package-vc.el (package-vc-refresh): Rename from.
(package-vc-rebuild): Rename to.
This intends to clarify the intention and avoid confusion with
'package-refresh-contents'. Thanks to Rudolf Adamkovič for the
suggestion.
---
doc/emacs/package.texi | 4 ++--
lisp/emacs-lisp/package-vc.el | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi
index a559f55cea..b7e2b2b9c7 100644
--- a/doc/emacs/package.texi
+++ b/doc/emacs/package.texi
@@ -593,11 +593,11 @@ with the maintainers, first commit your changes then use
the command
@code{package-vc-prepare-patch} to share it. @xref{Preparing Patches}.
@findex package-vc-install-from-checkout
-@findex package-vc-refresh
+@findex package-vc-rebuild
If you maintain your own packages you might want to use a local
checkout instead of cloning a remote repository. You can do this by
using @code{package-vc-install-from-checkout}, which creates a symbolic link
from the package directory (@pxref{Package Files}) to your checkout
and initialises the code. Note that you might have to use
-@code{package-vc-refresh} to repeat the initialisation and update the
+@code{package-vc-rebuild} to repeat the initialisation and update the
autoloads.
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index 750847f46e..e4925f17b6 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -709,15 +709,15 @@ name from the base name of DIR."
pkg-dir)))
;;;###autoload
-(defun package-vc-refresh (pkg-desc)
- "Refresh the installation for package given by PKG-DESC.
-Refreshing an installation means scraping for new autoload
+(defun package-vc-rebuild (pkg-desc)
+ "Rebuild the installation for package given by PKG-DESC.
+Rebuilding an installation means scraping for new autoload
cookies, re-compiling Emacs Lisp files, building and installing
any documentation, downloading any missing dependencies. This
command does not fetch new revisions from a remote server. That
is the responsibility of `package-vc-update'. Interactively,
-prompt for the name of the package to refresh."
- (interactive (list (package-vc--read-package-desc "Refresh package: " t)))
+prompt for the name of the package to rebuild."
+ (interactive (list (package-vc--read-package-desc "Rebuild package: " t)))
(package-vc--unpack-1 pkg-desc (package-desc-dir pkg-desc)))
;;;###autoload
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- scratch/package-vc-fixes c6425fd687: Rename 'package-vc-refresh' to 'package-vc-rebuild',
Philip Kaludercic <=