Add 'inhibit-native-compilation'
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 3 Oct 2022 13:26:04 +0000 (15:26 +0200)
committerSean Whitton <spwhitton@spwhitton.name>
Sun, 18 Dec 2022 21:35:33 +0000 (14:35 -0700)
commit654428b65ae1036deb4cc6f02461074c84671648
tree06cf85d756c7edd09f3e47c81daa65ae1c61ad68
parente9f3f14ed42f9dd36d1ca40b9a85852ae5932adb
Add 'inhibit-native-compilation'

The following upstream patch has been backported:

  Add new variable 'inhibit-native-compilation'

  * lisp/startup.el (normal-top-level): Set
  inhibit-native-compilation from environment variable.

  * lisp/emacs-lisp/comp.el (comp-trampoline-compile): Don't write
  trampolines to disk.

  * lisp/progmodes/elisp-mode.el
  (emacs-lisp-native-compile-and-load): Adjust.

  * src/comp.c (syms_of_comp): New variable
  inhibit-native-compilation.
  (maybe_defer_native_compilation): Use it.

Origin: upstream, commit: 5fec9182dbeffa88cef6651d8c798ef9665d6681
Forwarded: not-needed
lisp/emacs-lisp/comp.el
lisp/progmodes/elisp-mode.el
lisp/startup.el
src/comp.c