]> git.eshelyaron.com Git - emacs.git/commitdiff
(lexical-let): Fixed a bug involving nested
authorKarl Heuer <kwzh@gnu.org>
Thu, 24 Oct 1996 22:45:24 +0000 (22:45 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 24 Oct 1996 22:45:24 +0000 (22:45 +0000)
lexical contexts and macros.

lisp/emacs-lisp/cl-macs.el

index aa8b9070e67b1b159f97cfc321186723a1f3f3de..37d02b564cbc8afbfd068e88eebd20a791e5ef00 100644 (file)
@@ -1294,6 +1294,7 @@ lexical closures as in Common Lisp."
                          (or (consp x) (setq x (list x)))
                          (cl-push (gensym (format "--%s--" (car x)))
                                   cl-closure-vars)
+                         (set (car cl-closure-vars) [bad-lexical-ref])
                          (list (car x) (cadr x) (car cl-closure-vars))))
                       bindings))
         (ebody