diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-10-03 15:26:04 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-10-03 15:26:13 +0200 |
commit | 5fec9182dbeffa88cef6651d8c798ef9665d6681 (patch) | |
tree | eef3635bcb19cb75c58bece1b45922951fe9d4c3 /lisp/subr.el | |
parent | da02b9edadbc809b25ac83eccf64089f1cf3b160 (diff) | |
download | emacs-5fec9182dbeffa88cef6651d8c798ef9665d6681.tar.gz |
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.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r-- | lisp/subr.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 4f8273d56fb..0c9d94db1cc 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1876,6 +1876,9 @@ activations. To prevent runaway recursion, use `max-lisp-eval-depth' instead; it will indirectly limit the specpdl stack size as well.") (make-obsolete-variable 'max-specpdl-size nil "29.1") +(make-obsolete-variable 'native-comp-deferred-compilation + 'inhibit-native-compilation "29.1") + ;;;; Alternate names for functions - these are not being phased out. |