diff options
| author | Lars Ingebrigtsen | 2022-10-03 19:49:53 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-10-03 19:50:03 +0200 |
| commit | f97993ee667f9be7589825f3a4fbc095d6944ec6 (patch) | |
| tree | dbf97a33bd7d29b205d9a1be3cb89f8dac9d1df0 /src/comp.c | |
| parent | 81003b53f87597aba0320dd785227b219ae2ad1f (diff) | |
| download | emacs-f97993ee667f9be7589825f3a4fbc095d6944ec6.tar.gz emacs-f97993ee667f9be7589825f3a4fbc095d6944ec6.zip | |
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.c | 7 |
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, | |||
| 5107 | return; | 5107 | return; |
| 5108 | 5108 | ||
| 5109 | if (!native_comp_deferred_compilation | 5109 | if (!native_comp_deferred_compilation |
| 5110 | || !NILP (Vinhibit_native_compilation) | 5110 | || !NILP (Vinhibit_automatic_native_compilation) |
| 5111 | || noninteractive | 5111 | || noninteractive |
| 5112 | || !NILP (Vpurify_flag) | 5112 | || !NILP (Vpurify_flag) |
| 5113 | || !COMPILEDP (definition) | 5113 | || !COMPILEDP (definition) |
| @@ -5611,12 +5611,13 @@ For internal use. */); | |||
| 5611 | doc: /* Non-nil when comp.el can be native compiled. | 5611 | doc: /* Non-nil when comp.el can be native compiled. |
| 5612 | For internal use. */); | 5612 | For internal use. */); |
| 5613 | /* Compiler control customizes. */ | 5613 | /* Compiler control customizes. */ |
| 5614 | DEFVAR_LISP ("inhibit-native-compilation", Vinhibit_native_compilation, | 5614 | DEFVAR_LISP ("inhibit-automatic-native-compilation", |
| 5615 | Vinhibit_automatic_native_compilation, | ||
| 5615 | doc: /* If non-nil, inhibit automatic native compilation of loaded .elc files. | 5616 | doc: /* If non-nil, inhibit automatic native compilation of loaded .elc files. |
| 5616 | 5617 | ||
| 5617 | After compilation, each function definition is updated to the native | 5618 | After compilation, each function definition is updated to the native |
| 5618 | compiled one. */); | 5619 | compiled one. */); |
| 5619 | Vinhibit_native_compilation = Qnil; | 5620 | Vinhibit_automatic_native_compilation = Qnil; |
| 5620 | 5621 | ||
| 5621 | DEFVAR_BOOL ("native-comp-deferred-compilation", | 5622 | DEFVAR_BOOL ("native-comp-deferred-compilation", |
| 5622 | native_comp_deferred_compilation, | 5623 | native_comp_deferred_compilation, |