* lisp/emacs-lisp/map.el (map-into): Better error message.
This commit is contained in:
parent
924ea3ff9d
commit
a76628fd56
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ TYPE can be one of the following symbols: list or hash-table."
|
||||||
(pcase type
|
(pcase type
|
||||||
(`list (map-pairs map))
|
(`list (map-pairs map))
|
||||||
(`hash-table (map--into-hash-table 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)
|
(defmacro map--dispatch (spec &rest args)
|
||||||
"Evaluate one of the provided forms depending on the type of MAP.
|
"Evaluate one of the provided forms depending on the type of MAP.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue