]> git.eshelyaron.com Git - emacs.git/commit
Repair and speed up safe-copy-tree and make it internal (bug#61962)
authorMattias Engdegård <mattiase@acm.org>
Sun, 12 Mar 2023 16:00:25 +0000 (17:00 +0100)
committerMattias Engdegård <mattiase@acm.org>
Sun, 12 Mar 2023 17:12:18 +0000 (18:12 +0100)
commit75f04848a653e70f12f0e5a62b756c5bba0dd204
treed0d857342f3e9078e9e0bec82c1951ce79d17e72
parentf5f13495f5dac4148c1da8b0ba18c22daf77bb04
Repair and speed up safe-copy-tree and make it internal (bug#61962)

There is no particular requirement for safe-copy-tree so let's make it
internal for now.  The new implementation is faster and more correct.

* doc/lispref/lists.texi (Building Lists):
* etc/NEWS:  Remove doc and announcement.
* lisp/subr.el (safe-copy-tree--seen, safe-copy-tree--1)
(safe-copy-tree): Remove old version.
* lisp/emacs-lisp/bytecomp.el (bytecomp--copy-tree-seen)
(bytecomp--copy-tree-1, bytecomp--copy-tree): Add new version.
(byte-compile-initial-macro-environment): Use it.
* test/lisp/subr-tests.el (subr--safe-copy-tree):
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp--copy-tree):
Move and improve tests.
doc/lispref/lists.texi
etc/NEWS
lisp/emacs-lisp/bytecomp.el
lisp/subr.el
test/lisp/emacs-lisp/bytecomp-tests.el
test/lisp/subr-tests.el