summaryrefslogtreecommitdiff
path: root/src/comp.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-10-03 19:49:53 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-10-03 19:50:03 +0200
commitf97993ee667f9be7589825f3a4fbc095d6944ec6 (patch)
treedbf97a33bd7d29b205d9a1be3cb89f8dac9d1df0 /src/comp.c
parent81003b53f87597aba0320dd785227b219ae2ad1f (diff)
downloademacs-f97993ee667f9be7589825f3a4fbc095d6944ec6.tar.gz
Rename to inhibit-automatic-native-compilation
* src/comp.c (maybe_defer_native_compilation): (syms_of_comp): * lisp/subr.el (native-comp-deferred-compilation): * lisp/startup.el (inhibit-native-compilation): (normal-top-level): * lisp/progmodes/elisp-mode.el (emacs-lisp-native-compile-and-load): * lisp/emacs-lisp/comp.el (comp-trampoline-compile): * etc/NEWS: * doc/lispref/compile.texi (Native-Compilation Variables): Rename inhibit-native-compilation to inhibit-automatic-native-compilation.
Diffstat (limited to 'src/comp.c')
-rw-r--r--src/comp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/comp.c b/src/comp.c
index ed64a850721..1b767ba0dd8 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -5107,7 +5107,7 @@ maybe_defer_native_compilation (Lisp_Object function_name,
return;
if (!native_comp_deferred_compilation
- || !NILP (Vinhibit_native_compilation)
+ || !NILP (Vinhibit_automatic_native_compilation)
|| noninteractive
|| !NILP (Vpurify_flag)
|| !COMPILEDP (definition)
@@ -5611,12 +5611,13 @@ For internal use. */);
doc: /* Non-nil when comp.el can be native compiled.
For internal use. */);
/* Compiler control customizes. */
- DEFVAR_LISP ("inhibit-native-compilation", Vinhibit_native_compilation,
+ DEFVAR_LISP ("inhibit-automatic-native-compilation",
+ Vinhibit_automatic_native_compilation,
doc: /* If non-nil, inhibit automatic native compilation of loaded .elc files.
After compilation, each function definition is updated to the native
compiled one. */);
- Vinhibit_native_compilation = Qnil;
+ Vinhibit_automatic_native_compilation = Qnil;
DEFVAR_BOOL ("native-comp-deferred-compilation",
native_comp_deferred_compilation,