diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/repeat.el | 5 |
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) |