(copy-tree): Use let* to bind new before i.
This commit is contained in:
parent
3aa7cce7e4
commit
7dce3709b4
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@
|
|||
(cons (copy-tree (car tree))
|
||||
(copy-tree (cdr tree)))
|
||||
(if (vectorp tree)
|
||||
(let ((new (copy-sequence tree))
|
||||
(i (1- (length new))))
|
||||
(let* ((new (copy-sequence tree))
|
||||
(i (1- (length new))))
|
||||
(while (>= i 0)
|
||||
(aset new i (copy-tree (aref new i)))
|
||||
(setq i (1- i)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue