* lisp/repeat.el (describe-repeat-maps): Print all bound keys (bug#49265).
This commit is contained in:
parent
6fc94fb99e
commit
bf824843f4
1 changed files with 6 additions and 4 deletions
|
@ -533,10 +533,12 @@ Used in `repeat-mode'."
|
|||
(dolist (command (sort (cdr keymap) 'string-lessp))
|
||||
(let* ((info (help-fns--analyze-function command))
|
||||
(map (list (symbol-value (car keymap))))
|
||||
(desc (key-description
|
||||
(or (where-is-internal command map t)
|
||||
(where-is-internal (nth 3 info) map t)))))
|
||||
(princ (format-message " `%s' (bound to '%s')\n" command desc))))
|
||||
(desc (mapconcat (lambda (key)
|
||||
(format-message "`%s'" (key-description key)))
|
||||
(or (where-is-internal command map)
|
||||
(where-is-internal (nth 3 info) map))
|
||||
", ")))
|
||||
(princ (format-message " `%s' (bound to %s)\n" command desc))))
|
||||
(princ "\n"))))))
|
||||
|
||||
(provide 'repeat)
|
||||
|
|
Loading…
Add table
Reference in a new issue