Add 'inhibit-native-compilation'
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 3 Oct 2022 13:26:04 +0000 (15:26 +0200)
committerRob Browning <rlb@defaultvalue.org>
Sun, 23 Jun 2024 22:22:49 +0000 (17:22 -0500)
commit5183f8852718af767f9c16acd18ef689e35ef039
tree22905705f6a7b1bab8087ea1cd5468c3b010635f
parente7334f78e4b3037da7242a65824470b57aacb067
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/startup.el
src/comp.c