1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-10 00:00:39 -08:00

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.
This commit is contained in:
Andrea Corallo 2021-04-26 22:58:08 +02:00
parent 4396ef5a38
commit edf42af2cc
3 changed files with 4 additions and 4 deletions

View file

@ -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)