[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c53c5f3884 15/42: Rename 'package-vc-refresh' to 'package-vc-rebu
From: |
Philip Kaludercic |
Subject: |
master c53c5f3884 15/42: Rename 'package-vc-refresh' to 'package-vc-rebuild' |
Date: |
Thu, 17 Nov 2022 14:56:20 -0500 (EST) |
branch: master
commit c53c5f388470188632d518df68cff1204c930c49
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 | 2 +-
lisp/emacs-lisp/package-vc.el | 13 +++++++++----
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi
index a0f02f38b7..cd4c113ae5 100644
--- a/doc/emacs/package.texi
+++ b/doc/emacs/package.texi
@@ -593,7 +593,7 @@ 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
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index 8031bea490..620b21d0a1 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -720,10 +720,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.
-Interactively, prompt for the name of the package to refresh."
- (interactive (list (package-vc--read-package-desc "Refresh package: " t)))
+(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 rebuild."
+ (interactive (list (package-vc--read-package-desc "Rebuild package: " t)))
(package-vc--unpack-1 pkg-desc (package-desc-dir pkg-desc)))
;;;###autoload
- master 9d3c6205ae 03/42: Rename '-ensure-packages' to -install-selected-packages', (continued)
- master 9d3c6205ae 03/42: Rename '-ensure-packages' to -install-selected-packages', Philip Kaludercic, 2022/11/17
- master 83ff0de4ce 07/42: Fix 'package-vc-selected-packages' documentation, Philip Kaludercic, 2022/11/17
- master 3ff8310cc3 06/42: Mark 'package-vc-update' as interactive, Philip Kaludercic, 2022/11/17
- master 13d051b443 11/42: Remove references to internal symbols from public docstrings, Philip Kaludercic, 2022/11/17
- master e1ce202ad1 04/42: Mark 'package-vc-install-selected-packages' as interactive, Philip Kaludercic, 2022/11/17
- master 32758c6da0 08/42: Fix the docstring for 'package-vc--version', Philip Kaludercic, 2022/11/17
- master f939859fe4 09/42: Clarify 'package-vc--build-documentation' docstring, Philip Kaludercic, 2022/11/17
- master b0200a37e4 10/42: Expand 'package-vc--unpack-1' documentation, Philip Kaludercic, 2022/11/17
- master 2ec02024ab 14/42: Track 'default-directory' while updating source packages, Philip Kaludercic, 2022/11/17
- master d67b66f8ab 13/42: Respect :lisp-dir in package specs by loading a sub-directory, Philip Kaludercic, 2022/11/17
- master c53c5f3884 15/42: Rename 'package-vc-refresh' to 'package-vc-rebuild',
Philip Kaludercic <=
- master 348f7d263c 17/42: Move package spec documentation to 'package-vc-selected-packages', Philip Kaludercic, 2022/11/17
- master 2b93d0e6f1 16/42: Fix type error in package-vc prompt function, Philip Kaludercic, 2022/11/17
- master 7c3d3fa44e 19/42: Improve robustness of documentation generation, Philip Kaludercic, 2022/11/17
- master ccd7ab84c5 20/42: Fix edebug spec for 'package--with-response-buffer', Philip Kaludercic, 2022/11/17
- master 496c578d9c 22/42: Have 'package-vc-selected-packages' consider all installed packages, Philip Kaludercic, 2022/11/17
- master a467afbd98 25/42: Mention package name when package is lacking VC data, Philip Kaludercic, 2022/11/17
- master 7ab556b576 29/42: Improve robustness of 'package-vc-update', Philip Kaludercic, 2022/11/17
- master 3326337776 30/42: Avoid destructive manipulation of 'package-vc--archive-spec-alist', Philip Kaludercic, 2022/11/17
- master 32f51f17c4 33/42: Remove temporary .texi files if used to build documentation, Philip Kaludercic, 2022/11/17
- master 228c247e6f 34/42: Remove duplicate package descriptions after updating, Philip Kaludercic, 2022/11/17