From: Nicolas Petton Date: Sat, 18 Apr 2015 18:05:16 +0000 (+0200) Subject: * lisp/emacs-lisp/map.el (map-into): Better error message. X-Git-Tag: emacs-25.0.90~1873^2~16 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a76628fd56c7d8925a15e7f9dfdc485a9fcc2d47;p=emacs.git * lisp/emacs-lisp/map.el (map-into): Better error message. --- 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.