diff options
| author | Stefan Kangas | 2020-11-19 22:18:50 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2020-11-21 04:22:59 +0100 |
| commit | 6781cd670d1487bbf0364d80de68ca9733342769 (patch) | |
| tree | e17667c810d9ce67bf1ac2a8ff621dbd6934040e /src | |
| parent | c60355582a3ed19b4cc7e04b3b2031e461ccf7f1 (diff) | |
| download | emacs-6781cd670d1487bbf0364d80de68ca9733342769.tar.gz emacs-6781cd670d1487bbf0364d80de68ca9733342769.zip | |
Make load argument of native-compile-async internal
* lisp/emacs-lisp/comp.el (native--compile-async): New defun extracted
from native-compile-async.
(native-compile-async): Remove load argument and use above new defun.
* src/comp.c (maybe_defer_native_compilation): Use above new
defun. (Bug#44676)
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/comp.c b/src/comp.c index 6ddfad528b4..99560cc13a1 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -4677,13 +4677,13 @@ maybe_defer_native_compilation (Lisp_Object function_name, | |||
| 4677 | /* Comp already loaded. */ | 4677 | /* Comp already loaded. */ |
| 4678 | if (!NILP (delayed_sources)) | 4678 | if (!NILP (delayed_sources)) |
| 4679 | { | 4679 | { |
| 4680 | CALLN (Ffuncall, intern_c_string ("native-compile-async"), | 4680 | CALLN (Ffuncall, intern_c_string ("native--compile-async"), |
| 4681 | delayed_sources, Qnil, Qlate); | 4681 | delayed_sources, Qnil, Qlate); |
| 4682 | delayed_sources = Qnil; | 4682 | delayed_sources = Qnil; |
| 4683 | } | 4683 | } |
| 4684 | Fputhash (function_name, definition, Vcomp_deferred_pending_h); | 4684 | Fputhash (function_name, definition, Vcomp_deferred_pending_h); |
| 4685 | CALLN (Ffuncall, intern_c_string ("native-compile-async"), src, Qnil, | 4685 | CALLN (Ffuncall, intern_c_string ("native--compile-async"), |
| 4686 | Qlate); | 4686 | src, Qnil, Qlate); |
| 4687 | } | 4687 | } |
| 4688 | else | 4688 | else |
| 4689 | { | 4689 | { |