* lisp/emacs-lisp/cl-macs.el (cl--self-tco): Fix build of gnus-agent.el
Don't burp on "naked" variable let bindings.
This commit is contained in:
parent
fe7263803c
commit
981d5eaba8
1 changed files with 2 additions and 1 deletions
|
@ -2121,7 +2121,8 @@ Like `cl-flet' but the definitions can refer to previous ones.
|
|||
;; Note: it's OK for this `let' to shadow any
|
||||
;; of the formal arguments since we will only
|
||||
;; setq the fresh new `ofargs' vars instead ;-)
|
||||
(let ((shadowings (mapcar #'car bindings)))
|
||||
(let ((shadowings
|
||||
(mapcar (lambda (b) (if (consp b) (car b) b)) bindings)))
|
||||
;; If `var' is shadowed, then it clearly can't be
|
||||
;; tail-called any more.
|
||||
(not (memq var shadowings)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue