summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2023-03-12 17:00:25 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2023-03-12 18:12:18 +0100
commit75f04848a653e70f12f0e5a62b756c5bba0dd204 (patch)
treed0d857342f3e9078e9e0bec82c1951ce79d17e72 /etc
parentf5f13495f5dac4148c1da8b0ba18c22daf77bb04 (diff)
downloademacs-75f04848a653e70f12f0e5a62b756c5bba0dd204.tar.gz
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 0 insertions, 5 deletions
diff --git a/etc/NEWS b/etc/NEWS
index e31203689e3..3b02e85b691 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -392,11 +392,6 @@ This warning can be suppressed using 'with-suppressed-warnings' with
the warning name 'suspicious'.
+++
-** New function 'safe-copy-tree'
-This function is a version of copy-tree which handles circular lists
-and circular vectors/records.
-
-+++
** New function 'file-user-uid'.
This function is like 'user-uid', but is aware of file name handlers,
so it will return the remote UID for remote files (or -1 if the