summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2021-04-26 22:45:08 +0200
committerAndrea Corallo <akrl@sdf.org>2021-04-26 22:45:08 +0200
commit4396ef5a386969580bf4685fc2e6b1e3afec0bd7 (patch)
treee1ab8e3b19bc5e01f308ea5cfce123fe89237cae /lisp/emacs-lisp
parentfbfb5030129ee364d661dd2b56d7798f5cebc619 (diff)
downloademacs-4396ef5a386969580bf4685fc2e6b1e3afec0bd7.tar.gz
emacs-4396ef5a386969580bf4685fc2e6b1e3afec0bd7.tar.bz2
emacs-4396ef5a386969580bf4685fc2e6b1e3afec0bd7.zip
* lisp/emacs-lisp/comp.el: Make it loadable in vanilla builds (bug#48021).
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/comp.el2
1 files changed, 2 insertions, 0 deletions
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)