]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 25 May 2015 13:39:35 +0000 (09:39 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 25 May 2015 13:39:35 +0000 (09:39 -0400)
Fixes: debbugs:20639
lisp/emacs-lisp/cl-macs.el

index 27d3da3dca49e1eaba3a4941b407fc665f02ec30..636c5433a97a577cd7b6c1e11a88117a5ed9038e 100644 (file)
@@ -1786,7 +1786,8 @@ Labels have lexical scope and dynamic extent."
       (unless (eq 'go (car-safe (car-safe block)))
         (push `(go cl--exit) block))
       (push (nreverse block) blocks))
-    (let ((catch-tag (make-symbol "cl--tagbody-tag")))
+    (let ((catch-tag (make-symbol "cl--tagbody-tag"))
+          (cl--tagbody-alist cl--tagbody-alist))
       (push (cons 'cl--exit catch-tag) cl--tagbody-alist)
       (dolist (block blocks)
         (push (cons (car block) catch-tag) cl--tagbody-alist))