changeset 50504:e907858b9aef

(map-y-or-n-p): When formatting chars in ACTION-ALIST, use single-key-description.
author Richard M. Stallman <rms@gnu.org>
date Wed, 09 Apr 2003 01:33:27 +0000
parents 7c83c5770cb6
children b4cb33eddbaa
files lisp/map-ynp.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/map-ynp.el	Wed Apr 09 01:32:45 2003 +0000
+++ b/lisp/map-ynp.el	Wed Apr 09 01:33:27 2003 +0000
@@ -207,8 +207,9 @@
 					objects)
 				(mapconcat (function
 					    (lambda (elt)
-					      (format "%c to %s"
-						      (nth 0 elt)
+					      (format "%s to %s"
+						      (single-key-description
+						       (nth 0 elt))
 						      (nth 2 elt))))
 					   action-alist
 					   ";\n")