summaryrefslogtreecommitdiff
path: root/lisp/repeat.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2022-07-03 20:02:02 +0300
committerJuri Linkov <juri@linkov.net>2022-07-03 20:02:02 +0300
commitae31dd53069ad71772387f8abed3ebf2e1b54b5a (patch)
tree1f11105c354866b52df2ce9fe18a130db804dbff /lisp/repeat.el
parent1c3c8b6d58c91ceaac90ebe800ec365983ae81a2 (diff)
downloademacs-ae31dd53069ad71772387f8abed3ebf2e1b54b5a.tar.gz
emacs-ae31dd53069ad71772387f8abed3ebf2e1b54b5a.tar.bz2
emacs-ae31dd53069ad71772387f8abed3ebf2e1b54b5a.zip
Use more help-key-binding faces in repeat-mode message
* lisp/repeat.el (repeat-echo-message-string): Use substitute-command-keys for repeat-exit-key as well.
Diffstat (limited to 'lisp/repeat.el')
-rw-r--r--lisp/repeat.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/repeat.el b/lisp/repeat.el
index 6bbed954495..608f7aaf987 100644
--- a/lisp/repeat.el
+++ b/lisp/repeat.el
@@ -508,8 +508,9 @@ See `describe-repeat-maps' for a list of all repeatable commands."
(key-description (vector key)))))
keys ", ")
(if repeat-exit-key
- (format ", or exit with %s"
- (key-description repeat-exit-key))
+ (substitute-command-keys
+ (format ", or exit with \\`%s'"
+ (key-description repeat-exit-key)))
""))))
(defun repeat-echo-message (keymap)