Mercurial > emacs
diff lispref/lists.texi @ 61718:beeb90a3315c
(Association Lists): Document rassq-delete-all.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Thu, 21 Apr 2005 21:22:58 +0000 |
parents | 1f2f39d6b2e7 |
children | ddec16fed4a2 08185296b491 |
line wrap: on
line diff
--- a/lispref/lists.texi Thu Apr 21 21:18:29 2005 +0000 +++ b/lispref/lists.texi Thu Apr 21 21:22:58 2005 +0000 @@ -1667,6 +1667,15 @@ @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