]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/startup.el (normal-top-level): Fix byte-compilation warning.
authorEli Zaretskii <eliz@gnu.org>
Thu, 10 Feb 2022 17:05:41 +0000 (19:05 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 10 Feb 2022 17:05:41 +0000 (19:05 +0200)
lisp/startup.el

index 59fe5428b7ef10ad5d70789cc03ad8e6156a9f7d..d369f3ef84e6158518abb81f07603b3515574890 100644 (file)
@@ -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))