aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPo Lu2023-03-13 07:52:08 +0800
committerPo Lu2023-03-13 07:52:08 +0800
commita517c24697d080475e2d531c8ce1d433aa44a9c6 (patch)
tree057e84aa396d4b2266d5ff007d23265727d633f4 /doc
parent08a3749794b8e6c1b3db882ee15e3e91f3700414 (diff)
parent75f04848a653e70f12f0e5a62b756c5bba0dd204 (diff)
downloademacs-a517c24697d080475e2d531c8ce1d433aa44a9c6.tar.gz
emacs-a517c24697d080475e2d531c8ce1d433aa44a9c6.zip
Merge remote-tracking branch 'origin/master' into feature/android
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/lists.texi13
1 files changed, 0 insertions, 13 deletions
diff --git a/doc/lispref/lists.texi b/doc/lispref/lists.texi
index 3478049c84f..a509325854f 100644
--- a/doc/lispref/lists.texi
+++ b/doc/lispref/lists.texi
@@ -708,19 +708,6 @@ non-@code{nil}, it copies vectors too (and operates recursively on
708their elements). This function cannot cope with circular lists. 708their elements). This function cannot cope with circular lists.
709@end defun 709@end defun
710 710
711@defun safe-copy-tree tree &optional vecp
712This function returns a copy of the tree @var{tree}. If @var{tree} is
713a cons cell, this make a new cons cell with the same @sc{car} and
714@sc{cdr}, then recursively copies the @sc{car} and @sc{cdr} in the
715same way.
716
717Normally, when @var{tree} is anything other than a cons cell,
718@code{copy-tree} simply returns @var{tree}. However, if @var{vecp} is
719non-@code{nil}, it copies vectors and records too (and operates
720recursively on their elements). This function handles circular lists
721and vectors, and is thus slower than @code{copy-tree} for typical cases.
722@end defun
723
724@defun flatten-tree tree 711@defun flatten-tree tree
725This function returns a ``flattened'' copy of @var{tree}, that is, 712This function returns a ``flattened'' copy of @var{tree}, that is,
726a list containing all the non-@code{nil} terminal nodes, or leaves, of 713a list containing all the non-@code{nil} terminal nodes, or leaves, of