From c30106ce9f713edea173cbb301747cbbe3766257 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 10 Feb 2022 19:05:41 +0200 Subject: [PATCH] ; * lisp/startup.el (normal-top-level): Fix byte-compilation warning. --- lisp/startup.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/startup.el b/lisp/startup.el index 59fe5428b7e..d369f3ef84e 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -520,6 +520,9 @@ DIRS are relative." (t emacs-d-dir)))) (defvar native-comp-eln-load-path) +(defvar native-comp-deferred-compilation) +(defvar comp-enable-subr-trampolines) + (defun normal-top-level () "Emacs calls this function when it first starts up. It sets `command-line-processed', processes the command-line, @@ -540,7 +543,8 @@ It is the default value of the variable `top-level'." (unless (native-comp-available-p) ;; Disable deferred async compilation and trampoline synthesis ;; in this session. This is necessary if libgccjit is not - ;; available on MS-Windows. + ;; available on MS-Windows, but Emacs was built with + ;; native-compilation support. (setq native-comp-deferred-compilation nil comp-enable-subr-trampolines nil)) -- 2.39.2