diff options
| author | Po Lu | 2023-03-13 07:52:08 +0800 |
|---|---|---|
| committer | Po Lu | 2023-03-13 07:52:08 +0800 |
| commit | a517c24697d080475e2d531c8ce1d433aa44a9c6 (patch) | |
| tree | 057e84aa396d4b2266d5ff007d23265727d633f4 /doc | |
| parent | 08a3749794b8e6c1b3db882ee15e3e91f3700414 (diff) | |
| parent | 75f04848a653e70f12f0e5a62b756c5bba0dd204 (diff) | |
| download | emacs-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.texi | 13 |
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 | |||
| 708 | their elements). This function cannot cope with circular lists. | 708 | their elements). This function cannot cope with circular lists. |
| 709 | @end defun | 709 | @end defun |
| 710 | 710 | ||
| 711 | @defun safe-copy-tree tree &optional vecp | ||
| 712 | This function returns a copy of the tree @var{tree}. If @var{tree} is | ||
| 713 | a 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 | ||
| 715 | same way. | ||
| 716 | |||
| 717 | Normally, when @var{tree} is anything other than a cons cell, | ||
| 718 | @code{copy-tree} simply returns @var{tree}. However, if @var{vecp} is | ||
| 719 | non-@code{nil}, it copies vectors and records too (and operates | ||
| 720 | recursively on their elements). This function handles circular lists | ||
| 721 | and 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 |
| 725 | This function returns a ``flattened'' copy of @var{tree}, that is, | 712 | This function returns a ``flattened'' copy of @var{tree}, that is, |
| 726 | a list containing all the non-@code{nil} terminal nodes, or leaves, of | 713 | a list containing all the non-@code{nil} terminal nodes, or leaves, of |