bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Michael Heerdegen
Subject: bug#23105: 25.0.92; map-put does not change its argument MAP
Date: Fri, 25 Mar 2016 18:32:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Nicolas Petton <nicolas@petton.fr> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]