From edf42af2cccab9d2ea2730f721fec5d41b4700f8 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Mon, 26 Apr 2021 22:58:08 +0200 Subject: Rework where `comp-ctxt' is defined. * test/lisp/emacs-lisp/comp-cstr-tests.el (comp-ctxt): Remove `comp-ctxt' definition. * lisp/emacs-lisp/comp.el (comp-ctxt): Likewise. * lisp/emacs-lisp/comp-cstr.el (comp-ctxt): Define it here. --- lisp/emacs-lisp/comp.el | 2 -- 1 file changed, 2 deletions(-) (limited to 'lisp/emacs-lisp/comp.el') diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index c2c9987d9e3..1fb07c66adf 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -552,8 +552,6 @@ 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) -- cgit v1.2.3