]> git.eshelyaron.com Git - emacs.git/commit
Add new variable 'inhibit-native-compilation'
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 3 Oct 2022 13:26:04 +0000 (15:26 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 3 Oct 2022 13:26:13 +0000 (15:26 +0200)
commit5fec9182dbeffa88cef6651d8c798ef9665d6681
treeeef3635bcb19cb75c58bece1b45922951fe9d4c3
parentda02b9edadbc809b25ac83eccf64089f1cf3b160
Add new variable 'inhibit-native-compilation'

* doc/lispref/compile.texi (Native-Compilation Variables):
Document it.

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

* lisp/subr.el (native-comp-deferred-compilation): Make obsolete.

* 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.
doc/lispref/compile.texi
etc/NEWS
lisp/emacs-lisp/comp.el
lisp/progmodes/elisp-mode.el
lisp/startup.el
lisp/subr.el
src/comp.c