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: Sho Takemori
Subject: bug#23105: 25.0.92; map-put does not change its argument MAP
Date: Sat, 26 Mar 2016 00:00:30 +0900

Thanks for the fix. But after the fix, if MAP is a list literal, then it raises an error.
For example, this raises an error.
(map-put '((a . 1)) 'a "value")

This works.
(map-put [0 1 2] 1 "value")

It is an expected error?

Sho Takemori


2016-03-25 23:12 GMT+09:00 Nicolas Petton <nicolas@petton.fr>:
Sho Takemori <stakemorii@gmail.com> writes:

> I'm not sure if this is a bug, but the function map-put does not change its
> argument MAP if the map is an alist and the key is not found.

I pushed a fix to emacs-25.

Nico


reply via email to

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