Subject: Re: bug#34708: alist-get has unclear documentation

From: Michael Heerdegen <[email-masked]>
Date: Tue, 19 Mar 2019 02:35:57 +0100

Michael Heerdegen <[email-masked]> writes:

> Yes, the syntax is a bit weird.  I think I would prefer to write it as
>
>   (setf (alist-get key my-alist nil 'remove) nil)

BTW, I also want to point you to map.el.  It has `map-elt' which is also
setf'able and also works for other kinds of maps (hash-tables in
particular), and a distinct `map-remove'.  I guess it's time to
advertise map.el functions a bit more (in the manual).

Michael.