mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
repeat-mode: Don't echo unset keys in help message
* repeat.el (repeat-echo-message-string): Check if the key is set. (bug#55977)
This commit is contained in:
parent
36f96c351a
commit
7547e4e60e
1 changed files with 1 additions and 1 deletions
|
|
@ -500,7 +500,7 @@ See `describe-repeat-maps' for a list of all repeatable commands."
|
|||
(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)
|
||||
(map-keymap (lambda (key cmd) (and cmd (push key keys))) keymap)
|
||||
(format-message "Repeat with %s%s"
|
||||
(mapconcat (lambda (key)
|
||||
(key-description (vector key)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue