summaryrefslogtreecommitdiff
path: root/lispref/lists.texi
diff options
context:
space:
mode:
authorLute Kamstra <lute@gnu.org>2005-04-21 21:22:58 +0000
committerLute Kamstra <lute@gnu.org>2005-04-21 21:22:58 +0000
commit0e6fb1e6e2fe0b345d1ecbbdf4c9b48a6b13eb13 (patch)
treee392f1b0be442524dd72a2f396413ecacab51337 /lispref/lists.texi
parent2c7b5da17afabf02cd58a5530dcfbdb4459ed62c (diff)
(Association Lists): Document rassq-delete-all.
Diffstat (limited to 'lispref/lists.texi')
-rw-r--r--lispref/lists.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/lispref/lists.texi b/lispref/lists.texi
index 47ea5b7d54..ab7d496e46 100644
--- a/lispref/lists.texi
+++ b/lispref/lists.texi
@@ -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