]> git.eshelyaron.com Git - emacs.git/commit
Make (setf (map-elt ...)) return the value in the alist/plist cases
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 6 May 2021 11:30:52 +0000 (13:30 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 6 May 2021 11:32:04 +0000 (13:32 +0200)
commit896384b542cabdc000eafb80c9082830f692bbb2
treeeb0067709086e8aab49ef878d16eaa9cce718f78
parent49aebfe93c43b4b7f54b4c45bfb269a381e75836
Make (setf (map-elt ...)) return the value in the alist/plist cases

* lisp/emacs-lisp/map.el (map-elt): Return the value in the list
case (which can signal a `map-not-inplace' error.
(map-elt): Return the value in the list case, too (bug#47572).
lisp/emacs-lisp/map.el