* lisp/emacs-lisp/map.el (map-inplace): Fix the message of the error.

This commit is contained in:
Nicolas Petton 2019-03-27 10:22:33 +01:00
parent 2755cf1848
commit 1d25613265
No known key found for this signature in database
GPG key ID: E8BCD7866AFCF978

View file

@ -399,7 +399,7 @@ If you want to insert an element without modifying MAP, use `map-insert'."
;; and let `map-insert' grow the array?
:array (aset map key value)))
(define-error 'map-inplace "Can only modify map in place: %S")
(define-error 'map-inplace "Can only modify map in place")
(cl-defgeneric map-insert (map key value)
"Return a new map like MAP except that it associates KEY with VALUE.