emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] map a76628f 2/2: * lisp/emacs-lisp/map.el (map-into): Bett


From: Nicolas Petton
Subject: [Emacs-diffs] map a76628f 2/2: * lisp/emacs-lisp/map.el (map-into): Better error message.
Date: Sat, 18 Apr 2015 18:07:56 +0000

branch: map
commit a76628fd56c7d8925a15e7f9dfdc485a9fcc2d47
Author: Nicolas Petton <address@hidden>
Commit: Nicolas Petton <address@hidden>

    * lisp/emacs-lisp/map.el (map-into): Better error message.
---
 lisp/emacs-lisp/map.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/emacs-lisp/map.el b/lisp/emacs-lisp/map.el
index 9d2b4f7..06fd7ad 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]