* lisp/emacs-lisp/map.el (map-into): Better error message.

This commit is contained in:
Nicolas Petton 2015-04-18 20:05:16 +02:00
parent 924ea3ff9d
commit a76628fd56

View file

@ -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.