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>
Mon, 24 Feb 2025 07:37:43 +0000 (15:37 +0800)
commit8fb2d6e3307efb15124dc21837bf6039aa6d7fdf
tree9221bd396a1f2b7b7f0021180cedff317e62576d
parentd2bba6be1a99de7a6b7cb6afee6ff3d1c09db8df
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