* lisp/emacs-lisp/map.el (map-inplace): Fix the message of the error.
This commit is contained in:
parent
2755cf1848
commit
1d25613265
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue