aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/repeat.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/repeat.el b/lisp/repeat.el
index 45201ad1aa6..4dcd353e346 100644
--- a/lisp/repeat.el
+++ b/lisp/repeat.el
@@ -533,10 +533,12 @@ Used in `repeat-mode'."
533 (dolist (command (sort (cdr keymap) 'string-lessp)) 533 (dolist (command (sort (cdr keymap) 'string-lessp))
534 (let* ((info (help-fns--analyze-function command)) 534 (let* ((info (help-fns--analyze-function command))
535 (map (list (symbol-value (car keymap)))) 535 (map (list (symbol-value (car keymap))))
536 (desc (key-description 536 (desc (mapconcat (lambda (key)
537 (or (where-is-internal command map t) 537 (format-message "`%s'" (key-description key)))
538 (where-is-internal (nth 3 info) map t))))) 538 (or (where-is-internal command map)
539 (princ (format-message " `%s' (bound to '%s')\n" command desc)))) 539 (where-is-internal (nth 3 info) map))
540 ", ")))
541 (princ (format-message " `%s' (bound to %s)\n" command desc))))
540 (princ "\n")))))) 542 (princ "\n"))))))
541 543
542(provide 'repeat) 544(provide 'repeat)