]> git.eshelyaron.com Git - emacs.git/commitdiff
(map-y-or-n-p): When formatting chars in ACTION-ALIST,
authorRichard M. Stallman <rms@gnu.org>
Wed, 9 Apr 2003 01:33:27 +0000 (01:33 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 9 Apr 2003 01:33:27 +0000 (01:33 +0000)
use single-key-description.

lisp/map-ynp.el

index 21e6aec67df568ce811074299bd31058224bf4ee..59007c1f21d54d584111ceff053ad7d0d63c4e61 100644 (file)
@@ -207,8 +207,9 @@ ESC or `q' to exit;\n"
                                        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")