summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/map.el
diff options
context:
space:
mode:
authorNicolas Petton <nicolas@petton.fr>2015-04-18 20:05:16 +0200
committerNicolas Petton <nicolas@petton.fr>2015-04-18 20:07:34 +0200
commita76628fd56c7d8925a15e7f9dfdc485a9fcc2d47 (patch)
tree6ae5dfc00c59d8f62de0504611ace7b29ad06f60 /lisp/emacs-lisp/map.el
parent924ea3ff9d8680f4136fe64fc2467460867dd2fe (diff)
downloademacs-a76628fd56c7d8925a15e7f9dfdc485a9fcc2d47.tar.gz
emacs-a76628fd56c7d8925a15e7f9dfdc485a9fcc2d47.tar.bz2
emacs-a76628fd56c7d8925a15e7f9dfdc485a9fcc2d47.zip
* lisp/emacs-lisp/map.el (map-into): Better error message.
Diffstat (limited to 'lisp/emacs-lisp/map.el')
-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 9d2b4f718b5..06fd7ad2957 100644
--- a/lisp/emacs-lisp/map.el
+++ b/lisp/emacs-lisp/map.el
@@ -194,7 +194,7 @@ TYPE can be one of the following symbols: list or hash-table."
(pcase type
(`list (map-pairs map))
(`hash-table (map--into-hash-table map))
- (t (error "Not a map type name: %s" type))))
+ (t (error "Not a map type name: %S" type))))
(defmacro map--dispatch (spec &rest args)
"Evaluate one of the provided forms depending on the type of MAP.