Function: repeat-echo-message-string
repeat-echo-message-string is a byte-compiled function defined in
repeat.el.gz.
Signature
(repeat-echo-message-string KEYMAP)
Documentation
Return a string with a list of repeating keys.
Source Code
;; Defined in /usr/src/emacs/lisp/repeat.el.gz
(defun repeat-echo-message-string (keymap)
"Return a string with a list of repeating keys."
(let (keys)
(map-keymap (lambda (key _) (push key keys)) keymap)
(format-message "Repeat with %s%s"
(mapconcat (lambda (key)
(key-description (vector key)))
keys ", ")
(if repeat-exit-key
(format ", or exit with %s"
(key-description repeat-exit-key))
""))))