summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-07-01 20:18:31 +0200
committerStefan Kangas <stefan@marxist.se>2022-07-01 20:18:31 +0200
commit154634dcf0efb3e304b077ba532ae11ab8ed724d (patch)
treea958de010d3f455d1806225a72f5c635a29d76ce /lisp
parent1dc70544d866bf92167777045149ff86900b6e33 (diff)
downloademacs-154634dcf0efb3e304b077ba532ae11ab8ed724d.tar.gz
emacs-154634dcf0efb3e304b077ba532ae11ab8ed724d.tar.bz2
emacs-154634dcf0efb3e304b077ba532ae11ab8ed724d.zip
Use command substitution in kmacro.el
* lisp/kmacro.el (kmacro-bind-to-key, kmacro-view-macro-repeat): Use command substitution.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/kmacro.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/kmacro.el b/lisp/kmacro.el
index ea60bc35f2b..14be909722b 100644
--- a/lisp/kmacro.el
+++ b/lisp/kmacro.el
@@ -875,8 +875,8 @@ KEYS should be a vector or a string that obeys `key-valid-p'."
(defun kmacro-bind-to-key (_arg)
"When not defining or executing a macro, offer to bind last macro to a key.
-The key sequences `C-x C-k 0' through `C-x C-k 9' and `C-x C-k A'
-through `C-x C-k Z' are reserved for user bindings, and to bind to
+The key sequences \\`C-x C-k 0' through \\`C-x C-k 9' and \\`C-x C-k A'
+through \\`C-x C-k Z' are reserved for user bindings, and to bind to
one of these sequences, just enter the digit or letter, rather than
the whole sequence.
@@ -1002,7 +1002,7 @@ The ARG parameter is unused."
"Display the last keyboard macro.
If repeated, it shows previous elements in the macro ring.
To execute the displayed macro ring item without changing the macro ring,
-just enter C-k.
+just enter \\`C-k'.
This is like `kmacro-view-macro', but allows repeating macro commands
without repeating the prefix."
(interactive)