aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Petton2015-04-18 20:05:16 +0200
committerNicolas Petton2015-04-18 20:07:34 +0200
commita76628fd56c7d8925a15e7f9dfdc485a9fcc2d47 (patch)
tree6ae5dfc00c59d8f62de0504611ace7b29ad06f60
parent924ea3ff9d8680f4136fe64fc2467460867dd2fe (diff)
downloademacs-a76628fd56c7d8925a15e7f9dfdc485a9fcc2d47.tar.gz
emacs-a76628fd56c7d8925a15e7f9dfdc485a9fcc2d47.zip
* lisp/emacs-lisp/map.el (map-into): Better error message.
-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."
194 (pcase type 194 (pcase type
195 (`list (map-pairs map)) 195 (`list (map-pairs map))
196 (`hash-table (map--into-hash-table map)) 196 (`hash-table (map--into-hash-table map))
197 (t (error "Not a map type name: %s" type)))) 197 (t (error "Not a map type name: %S" type))))
198 198
199(defmacro map--dispatch (spec &rest args) 199(defmacro map--dispatch (spec &rest args)
200 "Evaluate one of the provided forms depending on the type of MAP. 200 "Evaluate one of the provided forms depending on the type of MAP.