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 |
replacement for (subst (cons key val) (assoc key lst) lst) |
© Menhirs NV. All rights reserved. |