summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2022-11-13 00:59:35 +0100
committerPhilip Kaludercic <philipk@posteo.net>2022-11-17 20:37:28 +0100
commitc53c5f388470188632d518df68cff1204c930c49 (patch)
tree1e1c830825f7f26fd1140e9a2c5e84ae310cf845 /lisp/emacs-lisp
parent2ec02024ab70802b793ecd9b0bbc5a5c81398516 (diff)
downloademacs-c53c5f388470188632d518df68cff1204c930c49.tar.gz
emacs-c53c5f388470188632d518df68cff1204c930c49.tar.bz2
emacs-c53c5f388470188632d518df68cff1204c930c49.zip
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.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package-vc.el13
1 files changed, 9 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index 8031bea490f..620b21d0a1b 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