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, 24 Mar 2024 21:10:16 +0000 (16:10 -0500)
commit1ae8ac91a0ca3d41b78e37ddc07f1b48e9a63e85
treefde7cd919d58f831a4d042ae92e9b44c83fd0190
parent5084fba86b690516174ad817daa9613951024f68
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