]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/map.el (map-into): Better error message.
authorNicolas Petton <nicolas@petton.fr>
Sat, 18 Apr 2015 18:05:16 +0000 (20:05 +0200)
committerNicolas Petton <nicolas@petton.fr>
Sat, 18 Apr 2015 18:07:34 +0000 (20:07 +0200)
lisp/emacs-lisp/map.el

index 9d2b4f718b58be9f7d40d82fe8f71bf078ca1a51..06fd7ad2957e90d65eb25acb8fecdee2974848f2 100644 (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.