emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/lists.texi


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lispref/lists.texi
Date: Thu, 11 Sep 2003 21:03:38 -0400

Index: emacs/lispref/lists.texi
diff -c emacs/lispref/lists.texi:1.36 emacs/lispref/lists.texi:1.37
*** emacs/lispref/lists.texi:1.36       Mon Sep  1 11:45:41 2003
--- emacs/lispref/lists.texi    Thu Sep 11 21:03:37 2003
***************
*** 733,738 ****
--- 733,750 ----
  destructively.  See @ref{Sets And Lists}.
  @end defun
  
+ @defun copy-tree tree &optional vecp
+ This function returns a copy the tree @code{tree}.  If @var{tree} is a
+ cons cell, this makes a new cons cell with the same @sc{car} and
+ @sc{cdr}, then recursively copies the @sc{car} and @sc{cdr} in the
+ same way.
+ 
+ Normally, when @var{tree} is anything other than a cons cell,
+ @code{copy-tree} simply returns @var{tree}.  However, if @var{vecp} is
+ address@hidden, it copies vectors too (and operates recursively on
+ their elements).
+ @end defun
+ 
  @defun number-sequence from to &optional separation
  This returns a list of numbers starting with @var{from}
  and incrementing by @var{separation} (or by 1 if @var{separation}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]