From a76628fd56c7d8925a15e7f9dfdc485a9fcc2d47 Mon Sep 17 00:00:00 2001 From: Nicolas Petton Date: Sat, 18 Apr 2015 20:05:16 +0200 Subject: [PATCH] * lisp/emacs-lisp/map.el (map-into): Better error message. --- lisp/emacs-lisp/map.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5