summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Petton <nicolas@petton.fr>2019-03-27 10:22:33 +0100
committerNicolas Petton <nicolas@petton.fr>2019-03-27 10:23:08 +0100
commit1d25613265388fbe8ca2c2bf55504e01aae69354 (patch)
treea94ff74e73e06a8bfd6ea81a08490f15a68a76a4
parent2755cf1848b551436b9cc2eff6e4b882b10c07aa (diff)
downloademacs-1d25613265388fbe8ca2c2bf55504e01aae69354.tar.gz
* lisp/emacs-lisp/map.el (map-inplace): Fix the message of the error.
-rw-r--r--lisp/emacs-lisp/map.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/map.el b/lisp/emacs-lisp/map.el
index 9a86736fba1..54e802edf4f 100644
--- a/lisp/emacs-lisp/map.el
+++ b/lisp/emacs-lisp/map.el
@@ -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.