vle-set-cdrassoc
(vle-set-cdrassoc key lst
val)
searches 'lst' list for dotted-pairs
with key 'key' and sets the value of the dotted pairs (if found)
to 'val';
|
Arguments |
key key value for the dotted pair value to search
for |
|
Return |
the input list with changed
values for dotted pairs with 'key'; |
|
Example |
(setq lst '((1 . "a")(2 .
"b")(1 . "a")(2 . "b"))) |
|
Alias |
vle-set-cassoc |
|
Remarks |
*NOT* a general replacement for (subst new old lst) |
| © Bricsys NV. All rights reserved. |