mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
* lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist
Fixes: debbugs:20639
This commit is contained in:
parent
6b442df48c
commit
b15c63952f
1 changed files with 2 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue