]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/comp.el: Make it loadable in vanilla builds (bug#48021).
authorAndrea Corallo <akrl@sdf.org>
Mon, 26 Apr 2021 20:45:08 +0000 (22:45 +0200)
committerAndrea Corallo <akrl@sdf.org>
Mon, 26 Apr 2021 20:45:08 +0000 (22:45 +0200)
lisp/emacs-lisp/comp.el

index 1fb07c66adf797fa6d053462076a7203fb3ca5b8..c2c9987d9e35996d29c99cd5e660cfbd85e20304 100644 (file)
@@ -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)