summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-07-24 17:47:59 +0300
committerEli Zaretskii <eliz@gnu.org>2020-07-24 17:47:59 +0300
commitd5acc509415869bce22c49ae311f2960494a0bdc (patch)
tree3dbd212b9e302b391e2366fdd85a8c76ca26878a
parent96a3b473fa5e152bf2f069f9eca10c370b311c25 (diff)
downloademacs-d5acc509415869bce22c49ae311f2960494a0bdc.tar.gz
Fix description of kmacro-* commands in the user manual
* doc/emacs/kmacro.texi (Basic Keyboard Macro): Separate old-style macro definition commands from the new style in the summary table. (Bug#42492)
-rw-r--r--doc/emacs/kmacro.texi15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/emacs/kmacro.texi b/doc/emacs/kmacro.texi
index 7e5085cd2f5..7b1d365ff04 100644
--- a/doc/emacs/kmacro.texi
+++ b/doc/emacs/kmacro.texi
@@ -49,23 +49,30 @@ intelligent or general. For such things, Lisp must be used.
@table @kbd
@item @key{F3}
-@itemx C-x (
Start defining a keyboard macro
(@code{kmacro-start-macro-or-insert-counter}).
@item @key{F4}
-@itemx C-x e
If a keyboard macro is being defined, end the definition; otherwise,
execute the most recent keyboard macro
(@code{kmacro-end-or-call-macro}).
@item C-u @key{F3}
-@itemx C-u C-x (
Re-execute last keyboard macro, then append keys to its definition.
@item C-u C-u @key{F3}
-@itemx C-u C-u C-x (
Append keys to the last keyboard macro without re-executing it.
@item C-x C-k r
Run the last keyboard macro on each line that begins in the region
(@code{apply-macro-to-region-lines}).
+@item C-x (
+Start defining a keyboard macro (old style)
+(@code{kmacro-start-macro}); with a prefix argument, append keys to
+the last macro.
+@item C-x )
+End a macro definition (old style) (@code{kmacro-end-macro}); prefix
+argument serves as the repeat count for executing the macro.
+@item C-x e
+Execute the most recently defined keyboard macro
+(@code{kmacro-end-and-call-macro}); prefix argument serves as repeat
+count.
@end table
@kindex F3