emacs-diffs
[Top][All Lists]
Advanced

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

scratch/native-comp-eln-caches f319c09 4/6: * Prevent recursive load


From: Andrea Corallo
Subject: scratch/native-comp-eln-caches f319c09 4/6: * Prevent recursive load
Date: Sat, 15 Aug 2020 14:57:19 -0400 (EDT)

branch: scratch/native-comp-eln-caches
commit f319c09ba9800345f44866200334608ea71dba78
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]