Subject: bug#23105: 25.0.92; map-put does not change its argument MAP

From: Michael Heerdegen <[email-masked]>
Date: Fri, 25 Mar 2016 18:32:11 +0100

Nicolas Petton <[email-masked]> writes:

> > It is an expected error?
>
> Yes, in the sense that the same error will be raised if you try to do it
> with a setf on an alist:

> [...]

> Note however that mutating literal lists is in general not a good idea,
> as conses might be shared.

Calling `map-put' in this way is also not useful.

Michael.