diff options
| author | Nicolas Petton | 2019-03-27 10:22:33 +0100 |
|---|---|---|
| committer | Nicolas Petton | 2019-03-27 10:23:08 +0100 |
| commit | 1d25613265388fbe8ca2c2bf55504e01aae69354 (patch) | |
| tree | a94ff74e73e06a8bfd6ea81a08490f15a68a76a4 | |
| parent | 2755cf1848b551436b9cc2eff6e4b882b10c07aa (diff) | |
| download | emacs-1d25613265388fbe8ca2c2bf55504e01aae69354.tar.gz emacs-1d25613265388fbe8ca2c2bf55504e01aae69354.zip | |
* lisp/emacs-lisp/map.el (map-inplace): Fix the message of the error.
| -rw-r--r-- | lisp/emacs-lisp/map.el | 2 |
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'." | |||
| 399 | ;; and let `map-insert' grow the array? | 399 | ;; and let `map-insert' grow the array? |
| 400 | :array (aset map key value))) | 400 | :array (aset map key value))) |
| 401 | 401 | ||
| 402 | (define-error 'map-inplace "Can only modify map in place: %S") | 402 | (define-error 'map-inplace "Can only modify map in place") |
| 403 | 403 | ||
| 404 | (cl-defgeneric map-insert (map key value) | 404 | (cl-defgeneric map-insert (map key value) |
| 405 | "Return a new map like MAP except that it associates KEY with VALUE. | 405 | "Return a new map like MAP except that it associates KEY with VALUE. |