Questions tagged [alists]
The alists tag has no usage guidance.
2
questions
3
votes
1
answer
90
views
How to match the car of alist elements with a regexp?
I've spent a good amount of hours trying to solve this one but without success.
I have an alist with strings
(setq trees '(("pine" . "cones") ("oak" . "acorns") ...
2
votes
2
answers
766
views
setf + alist-get but with "equal" instead of "eq"?
I got a suggestion to use setf to replace value in an alist: Replace element in a list / add in case of absence, with custom test/key functions
The example was provided, but it doesn't work if key is ...