diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2023-03-12 17:00:25 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2023-03-12 18:12:18 +0100 |
commit | 75f04848a653e70f12f0e5a62b756c5bba0dd204 (patch) | |
tree | d0d857342f3e9078e9e0bec82c1951ce79d17e72 /etc | |
parent | f5f13495f5dac4148c1da8b0ba18c22daf77bb04 (diff) | |
download | emacs-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/NEWS | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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 |