Mercurial > emacs
comparison lisp/map-ynp.el @ 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 | 253f761ad37b |
children | 2363196f1b1c |
comparison
equal
deleted
inserted
replaced
50503:7c83c5770cb6 | 50504:e907858b9aef |
---|---|
205 ESC or `q' to exit;\n" | 205 ESC or `q' to exit;\n" |
206 action object object objects action | 206 action object object objects action |
207 objects) | 207 objects) |
208 (mapconcat (function | 208 (mapconcat (function |
209 (lambda (elt) | 209 (lambda (elt) |
210 (format "%c to %s" | 210 (format "%s to %s" |
211 (nth 0 elt) | 211 (single-key-description |
212 (nth 0 elt)) | |
212 (nth 2 elt)))) | 213 (nth 2 elt)))) |
213 action-alist | 214 action-alist |
214 ";\n") | 215 ";\n") |
215 (if action-alist ";\n") | 216 (if action-alist ";\n") |
216 (format "or . (period) to %s \ | 217 (format "or . (period) to %s \ |