changeset 54047:291b91ef0840

(Sets And Lists): Update description of delete-dups.
author Luc Teirlinck <teirllm@auburn.edu>
date Tue, 17 Feb 2004 03:16:42 +0000
parents 06a097459dbe
children d78e05a984ee
files lispref/lists.texi
diffstat 1 files changed, 3 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/lists.texi	Tue Feb 17 02:26:58 2004 +0000
+++ b/lispref/lists.texi	Tue Feb 17 03:16:42 2004 +0000
@@ -1436,16 +1436,9 @@
 
 @defun delete-dups list
 This function destructively removes all @code{equal} duplicates from
-@var{list} and returns the result.  Of several @code{equal}
-occurrences of an element in @var{list}, @code{delete-dups} keeps the
-last one.
-
-The value of @var{list} after a call to this function is undefined.
-Usually, we store the return value back in @var{list}:
-
-@example
-(setq list (delete-dups list))
-@end example
+@var{list}, stores the result in @var{list} and returns it.  Of
+several @code{equal} occurrences of an element in @var{list},
+@code{delete-dups} keeps the first one.
 @end defun
 
   See also the function @code{add-to-list}, in @ref{Setting Variables},