aboutsummaryrefslogtreecommitdiffstats
path: root/src/comp.c
diff options
context:
space:
mode:
authorAndrea Corallo2022-02-01 10:46:51 +0100
committerAndrea Corallo2022-02-01 11:30:17 +0100
commite7fd6fe7ecdaac26f5d352cc40ca2b2fcd923bb8 (patch)
treeec3b42f70e255ec7c9cd42a1564cea86089bf299 /src/comp.c
parenta92c6191b0ff8d459862386c0a1462cf29521f56 (diff)
downloademacs-e7fd6fe7ecdaac26f5d352cc40ca2b2fcd923bb8.tar.gz
emacs-e7fd6fe7ecdaac26f5d352cc40ca2b2fcd923bb8.zip
Rename `comp--loadable' into `comp--compilable'
* lisp/startup.el (comp--compilable): Rename from `comp--loadable'. (startup--require-comp-safely): Update accordingly. (startup--honor-delayed-native-compilations): Likewise. * src/comp.c (syms_of_comp): Update. (maybe_defer_native_compilation): Likewise.
Diffstat (limited to 'src/comp.c')
-rw-r--r--src/comp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/comp.c b/src/comp.c
index 9342712a389..5efe026b2b2 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -5129,7 +5129,7 @@ maybe_defer_native_compilation (Lisp_Object function_name,
5129 5129
5130 /* This is so deferred compilation is able to compile comp 5130 /* This is so deferred compilation is able to compile comp
5131 dependencies breaking circularity. */ 5131 dependencies breaking circularity. */
5132 if (comp__loadable) 5132 if (comp__compilable)
5133 { 5133 {
5134 /* Startup is done, comp is usable. */ 5134 /* Startup is done, comp is usable. */
5135 CALL0I (startup--require-comp-safely); 5135 CALL0I (startup--require-comp-safely);
@@ -5600,9 +5600,9 @@ syms_of_comp (void)
5600 DEFVAR_LISP ("comp--delayed-sources", Vcomp__delayed_sources, 5600 DEFVAR_LISP ("comp--delayed-sources", Vcomp__delayed_sources,
5601 doc: /* List of sources to be native-compiled when startup is finished. 5601 doc: /* List of sources to be native-compiled when startup is finished.
5602For internal use. */); 5602For internal use. */);
5603 DEFVAR_BOOL ("comp--loadable", 5603 DEFVAR_BOOL ("comp--compilable",
5604 comp__loadable, 5604 comp__compilable,
5605 doc: /* Non-nil when comp.el can be loaded. 5605 doc: /* Non-nil when comp.el can be native compiled.
5606For internal use. */); 5606For internal use. */);
5607 /* Compiler control customizes. */ 5607 /* Compiler control customizes. */
5608 DEFVAR_BOOL ("native-comp-deferred-compilation", 5608 DEFVAR_BOOL ("native-comp-deferred-compilation",