From efb478436e5f5b09c11a93c592a657305d77f512 Mon Sep 17 00:00:00 2001 From: Luc Teirlinck Date: Tue, 17 Feb 2004 03:16:42 +0000 Subject: [PATCH] (Sets And Lists): Update description of delete-dups. --- lispref/lists.texi | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/lispref/lists.texi b/lispref/lists.texi index 2426a4d4670..e3891f81971 100644 --- a/lispref/lists.texi +++ b/lispref/lists.texi @@ -1436,16 +1436,9 @@ comparison. @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}, -- 2.39.2