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

parent 2755cf18
Pipeline #1087 failed with stage
in 60 minutes and 1 second
......@@ -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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment