Add 'inhibit-native-compilation'
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 3 Oct 2022 13:26:04 +0000 (15:26 +0200)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 28 Jul 2024 23:24:37 +0000 (23:24 +0000)
commitbd65317163016168667e9a84bd76f37c3e85f403
tree98dcd6a3dc7e19d3a4f938809ed42f4ba04b199d
parent3d56996524a05e9584310809cb945e83c7a802d2
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

Gbp-Pq: Name 0012-Add-inhibit-native-compilation.patch
lisp/emacs-lisp/comp.el
lisp/startup.el
src/comp.c