]> git.eshelyaron.com Git - emacs.git/commit
Fix (setf (map-elt map key) (my-func))
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 1 Sep 2021 08:32:49 +0000 (10:32 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 1 Sep 2021 08:32:49 +0000 (10:32 +0200)
commitfffcc7ab25021fd9d73d50cf685a77777d38265c
tree0cd51e80fa954e44dba418afb432fa3e1a735cf2
parent4a1505904e3606046c201f87deec1171f7d4d406
Fix (setf (map-elt map key) (my-func))

* lisp/emacs-lisp/map.el (map-elt): Ensure that the value isn't
referenced more than once (bug#50290).
lisp/emacs-lisp/map.el
test/lisp/emacs-lisp/map-tests.el