From 4396ef5a386969580bf4685fc2e6b1e3afec0bd7 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Mon, 26 Apr 2021 22:45:08 +0200 Subject: [PATCH] * lisp/emacs-lisp/comp.el: Make it loadable in vanilla builds (bug#48021). --- lisp/emacs-lisp/comp.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 1fb07c66adf..c2c9987d9e3 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -552,6 +552,8 @@ Useful to hook into pass checkers.") (signal (function (symbol t) nil))) "Alist used for type propagation.") +(defvar comp-ctxt) ; To make comp.el loadable in non native comp builds. + (defconst comp-known-func-cstr-h (cl-loop with comp-ctxt = (make-comp-cstr-ctxt) -- 2.39.5