aboutsummaryrefslogtreecommitdiffstats
path: root/src/comp.c
diff options
context:
space:
mode:
authorAndrea Corallo2020-03-18 21:20:52 +0000
committerAndrea Corallo2020-03-19 13:50:25 +0000
commit7565a4a1170bf36352ffd7283c18ac1843ae8123 (patch)
treec4864511342de14b8c570dd67b493e39674010db /src/comp.c
parentc3e640bfa6623234e6757e1ffef1b0d6a3144ff8 (diff)
downloademacs-7565a4a1170bf36352ffd7283c18ac1843ae8123.tar.gz
emacs-7565a4a1170bf36352ffd7283c18ac1843ae8123.zip
Command late load when deferring compilation
Diffstat (limited to 'src/comp.c')
-rw-r--r--src/comp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/comp.c b/src/comp.c
index 3f2b45c85fd..d645b59590f 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -3381,7 +3381,8 @@ maybe_defer_native_compilation (Lisp_Object function_name,
3381 concat2 (CALL1I (file-name-sans-extension, Vload_file_name), 3381 concat2 (CALL1I (file-name-sans-extension, Vload_file_name),
3382 build_pure_c_string (".el")); 3382 build_pure_c_string (".el"));
3383 if (!NILP (Ffile_exists_p (src))) 3383 if (!NILP (Ffile_exists_p (src)))
3384 CALLN (Ffuncall, intern_c_string ("native-compile-async"), src, Qnil); 3384 CALLN (Ffuncall, intern_c_string ("native-compile-async"), src, Qnil,
3385 Qlate);
3385} 3386}
3386 3387
3387 3388
@@ -3639,6 +3640,7 @@ syms_of_comp (void)
3639 /* Others. */ 3640 /* Others. */
3640 DEFSYM (Qfixnum, "fixnum"); 3641 DEFSYM (Qfixnum, "fixnum");
3641 DEFSYM (Qscratch, "scratch"); 3642 DEFSYM (Qscratch, "scratch");
3643 DEFSYM (Qlate, "late");
3642 3644
3643 /* To be signaled by the compiler. */ 3645 /* To be signaled by the compiler. */
3644 DEFSYM (Qnative_compiler_error, "native-compiler-error"); 3646 DEFSYM (Qnative_compiler_error, "native-compiler-error");