; * lisp/emacs-lisp/cl-macs.el (cl--self-tco): fix bootstrapping

This commit is contained in:
Mattias Engdegård 2021-12-20 17:29:17 +01:00
parent 19206fd1e7
commit de797bb853

View file

@ -2145,8 +2145,8 @@ Like `cl-flet' but the definitions can refer to previous ones.
(not (memq var shadowings))
;; If any of the new bindings is a dynamic
;; variable, the body is not in tail position.
(not (cl-some #'macroexp--dynamic-variable-p
shadowings))))))
(not (delq nil (mapcar #'macroexp--dynamic-variable-p
shadowings)))))))
`(,(car exp) ,bindings . ,(funcall opt-exps exps)))
((and `(condition-case ,err-var ,bodyform . ,handlers)
(guard (not (eq err-var var))))