projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad73b58
)
Use help-key-binding face in repeat-mode message
author
Stefan Kangas
<stefan@marxist.se>
Sat, 2 Jul 2022 14:59:14 +0000
(16:59 +0200)
committer
Stefan Kangas
<stefan@marxist.se>
Sat, 2 Jul 2022 15:09:22 +0000
(17:09 +0200)
* lisp/repeat.el (repeat-echo-message-string): Use
substitute-command-keys.
lisp/repeat.el
patch
|
blob
|
history
diff --git
a/lisp/repeat.el
b/lisp/repeat.el
index fa65057a73f29b247b35212a022bb604d8be3e98..6bbed95449592e849635c60cfd451ecdbe547c17 100644
(file)
--- a/
lisp/repeat.el
+++ b/
lisp/repeat.el
@@
-503,7
+503,9
@@
See `describe-repeat-maps' for a list of all repeatable commands."
(map-keymap (lambda (key cmd) (and cmd (push key keys))) keymap)
(format-message "Repeat with %s%s"
(mapconcat (lambda (key)
- (key-description (vector key)))
+ (substitute-command-keys
+ (format "\\`%s'"
+ (key-description (vector key)))))
keys ", ")
(if repeat-exit-key
(format ", or exit with %s"