]> git.eshelyaron.com Git - emacs.git/commitdiff
(Association Lists): Document rassq-delete-all.
authorLute Kamstra <lute@gnu.org>
Thu, 21 Apr 2005 21:22:58 +0000 (21:22 +0000)
committerLute Kamstra <lute@gnu.org>
Thu, 21 Apr 2005 21:22:58 +0000 (21:22 +0000)
lispref/lists.texi

index 47ea5b7d541eaeb1e5b4fe29244528d53fe1d989..ab7d496e461758016abdec0d5e5b7e3acce6be88 100644 (file)
@@ -1667,6 +1667,15 @@ alist
 @end example
 @end defun
 
+@defun rassq-delete-all value alist
+This function deletes from @var{alist} all the elements whose @sc{cdr}
+is @code{eq} to @var{value}.  It returns the shortened alist, and
+often modifies the original list structure of @var{alist}.
+@code{rassq-delete-all} is like @code{assq-delete-all} except that it
+compares the @sc{cdr} of each @var{alist} association instead of the
+@sc{car}.
+@end defun
+
 @ignore
    arch-tag: 31fb8a4e-4aa8-4a74-a206-aa00451394d4
 @end ignore