[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/native-comp df774c4 04/12: * Prevent recursive load

From: Andrea Corallo
Subject: feature/native-comp df774c4 04/12: * Prevent recursive load
Date: Mon, 17 Aug 2020 13:12:10 -0400 (EDT)

branch: feature/native-comp
commit df774c4947c19478769587d587d07014aac79548
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    * Prevent recursive load
    Prevent autoload to kicks in while running `native-compile-async'.
    Autoload cannot be used safely by functions serving deferred
    compilation as a circular load can be triggered if the dependency is
    not native compiled already.
        * lisp/emacs-lisp/comp.el (warnings): Add require.
 lisp/emacs-lisp/comp.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 5805e5c..99bf30a 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -36,6 +36,7 @@
 (require 'gv)
 (require 'rx)
 (require 'subr-x)
+(require 'warnings)
 (defgroup comp nil
   "Emacs Lisp native compiler."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]