1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-17 11:20:39 -08:00

Rename 'package-vc-allow-side-effects' to better fit its use

* lisp/emacs-lisp/package-vc.el (package-vc-allow-side-effects):
Rename to 'package-vc-allow-build-commands'.
(package-vc--unpack-1): Use new name.
* doc/emacs/package.texi (Fetching Package Sources): Use new name.
* etc/NEWS: Adapt accordingly.  (Bug#65386)
This commit is contained in:
Eshel Yaron 2023-08-20 16:29:33 +02:00 committed by Philip Kaludercic
parent 72ab5dc0b4
commit b2ba4cb870
3 changed files with 10 additions and 10 deletions

View file

@ -362,7 +362,7 @@ asynchronously."
"\n")
nil pkg-file nil 'silent))))
(defcustom package-vc-allow-side-effects nil
(defcustom package-vc-allow-build-commands nil
"Whether to run extra build commands when installing VC packages.
Some packages specify \"make\" targets or other shell commands
@ -548,9 +548,9 @@ documentation and marking the package as installed."
(package-vc--generate-description-file pkg-desc pkg-file)
;; Process :make and :shell-command arguments before building documentation
(when (or (eq package-vc-allow-side-effects t)
(when (or (eq package-vc-allow-build-commands t)
(memq (package-desc-name pkg-desc)
package-vc-allow-side-effects))
package-vc-allow-build-commands))
(package-vc--make pkg-spec pkg-desc))
;; Detect a manual