Add references to "User Lisp" Info node where applicable

* etc/NEWS: Update 'package-vc-install-from-checkout'
obsoletion notice.
* lisp/emacs-lisp/package-vc.el (package-vc-install-from-checkout):
Update obsoletion declaration.
This commit is contained in:
Philip Kaludercic 2026-03-14 11:18:05 +01:00
parent 18dfb0db0e
commit 9b97d84318
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

@ -3099,7 +3099,8 @@ tarballs and prepare them to be activated in the sub-process.
---
*** The command 'package-vc-install-from-checkout' is now obsolete.
Please use the User Lisp directory instead. This also means that
Please use the User Lisp directory instead, see Info node "(emacs) User
Lisp Directory" for more details on how to use. This also means that
combining the 'use-package' keywords ':vc' and ':load-path' is obsolete.
---

View file

@ -1019,7 +1019,8 @@ one created by `package-vc-checkout'. If invoked interactively with a
prefix argument, prompt the user for the NAME of the package to set up.
If the optional argument INTERACTIVE is non-nil (as happens
interactively), DIR must be an absolute file name."
(declare (obsolete "use the User Lisp directory instead." "31.1"))
(declare (obsolete "Use the User Lisp directory instead, \
see Info node `(emacs) User Lisp Directory'." "31.1"))
(interactive (let ((dir (expand-file-name (read-directory-name "Directory: "))))
(list dir (and current-prefix-arg
(let ((base (file-name-base