comparison lispref/lists.texi @ 71704:3851fc0b6ee0

(List Elements, Building Lists, Association Lists): Remove @tindex.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 08 Jul 2006 18:07:01 +0000
parents 067115a6e738
children 797e05668794
comparison
equal deleted inserted replaced
71703:121454a86a65 71704:3851fc0b6ee0
243 nil)) 243 nil))
244 @end group 244 @end group
245 @end example 245 @end example
246 @end defun 246 @end defun
247 247
248 @tindex pop
249 @defmac pop listname 248 @defmac pop listname
250 This macro is a way of examining the @sc{car} of a list, 249 This macro is a way of examining the @sc{car} of a list,
251 and taking it off the list, all at once. 250 and taking it off the list, all at once.
252 251
253 It operates on the list which is stored in the symbol @var{listname}. 252 It operates on the list which is stored in the symbol @var{listname}.
430 Note that there is no conflict between the variable named @code{list} 429 Note that there is no conflict between the variable named @code{list}
431 used in this example and the function named @code{list} described below; 430 used in this example and the function named @code{list} described below;
432 any symbol can serve both purposes. 431 any symbol can serve both purposes.
433 @end defun 432 @end defun
434 433
435 @tindex push
436 @defmac push newelt listname 434 @defmac push newelt listname
437 This macro provides an alternative way to write 435 This macro provides an alternative way to write
438 @code{(setq @var{listname} (cons @var{newelt} @var{listname}))}. 436 @code{(setq @var{listname} (cons @var{newelt} @var{listname}))}.
439 437
440 @example 438 @example
1647 @end group 1645 @end group
1648 @end smallexample 1646 @end smallexample
1649 @end defun 1647 @end defun
1650 1648
1651 @defun assq-delete-all key alist 1649 @defun assq-delete-all key alist
1652 @tindex assq-delete-all
1653 This function deletes from @var{alist} all the elements whose @sc{car} 1650 This function deletes from @var{alist} all the elements whose @sc{car}
1654 is @code{eq} to @var{key}, much as if you used @code{delq} to delete 1651 is @code{eq} to @var{key}, much as if you used @code{delq} to delete
1655 each such element one by one. It returns the shortened alist, and 1652 each such element one by one. It returns the shortened alist, and
1656 often modifies the original list structure of @var{alist}. For 1653 often modifies the original list structure of @var{alist}. For
1657 correct results, use the return value of @code{assq-delete-all} rather 1654 correct results, use the return value of @code{assq-delete-all} rather