[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 1557bb9d8f 1/2: ; Rename 'package-vc-link-directory' to '-install
From: |
Philip Kaludercic |
Subject: |
master 1557bb9d8f 1/2: ; Rename 'package-vc-link-directory' to '-install-from-checkout' |
Date: |
Sat, 5 Nov 2022 12:45:23 -0400 (EDT) |
branch: master
commit 1557bb9d8f1f2f99aa5a594bdb1c7aa1c7546b97
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
; Rename 'package-vc-link-directory' to '-install-from-checkout'
* doc/emacs/package.texi (Fetching Package Sources): Rename instances
* etc/NEWS: Rename instances.
* lisp/emacs-lisp/package-vc.el (package-vc-link-directory): Rename to
'package-vc-install-from-checkout'.
---
doc/emacs/package.texi | 4 ++--
etc/NEWS | 2 +-
lisp/emacs-lisp/package-vc.el | 6 +++---
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi
index bd11648e57..e8af35e2e3 100644
--- a/doc/emacs/package.texi
+++ b/doc/emacs/package.texi
@@ -592,11 +592,11 @@ that you have customised. If you have made a change you
wish to share
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-link-directory
+@findex package-vc-install-from-checkout
@findex package-vc-refresh
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-link-directory}, which creates a symbolic link
+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
diff --git a/etc/NEWS b/etc/NEWS
index edeb8fc3d0..559704312d 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1559,7 +1559,7 @@ Packages can now be installed directly from source by
cloning from a
repository.
+++
-*** New command 'package-vc-link-directory'
+*** New command 'package-vc-install-from-checkout'
An existing checkout can now be loaded via package.el, by creating a
symbolic link from the usual package directory to the checkout.
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index 96cf7bb466..ae0f7e0ee1 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -28,8 +28,8 @@
;; aren't interested in activating a package, you can use
;; `package-vc-checkout' instead, which will prompt you for a target
;; directory. If you wish to re-use an existing checkout, the command
-;; `package-vc-link-directory' will create a symbolic link and prepare
-;; the package.
+;; `package-vc-install-from-checkout' will create a symbolic link and
+;; prepare the package.
;;
;; If you make local changes that you wish to share with an upstream
;; maintainer, the command `package-vc-prepare-patch' can prepare
@@ -665,7 +665,7 @@ for the last released version of the package."
(find-file directory)))
;;;###autoload
-(defun package-vc-link-directory (dir name)
+(defun package-vc-install-from-checkout (dir name)
"Set up the package NAME in DIR by linking it into the ELPA directory.
Interactively, prompt the user for DIR, which should be a directory
under version control, typically one created by `package-vc-checkout'.