summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-08-15 10:54:22 +0200
committerAndrea Corallo <akrl@sdf.org>2020-08-15 20:54:44 +0200
commitf319c09ba9800345f44866200334608ea71dba78 (patch)
tree2f6170bc3c6bf653a907589dfd05d2e7d91108ed /lisp
parentd0f67ece8902248f820b04e9cb674dd0d7579d53 (diff)
downloademacs-f319c09ba9800345f44866200334608ea71dba78.tar.gz
* 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.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/comp.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 5805e5c96ab..99bf30a4eee 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."