From d5acc509415869bce22c49ae311f2960494a0bdc Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 24 Jul 2020 17:47:59 +0300 Subject: [PATCH] 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) --- doc/emacs/kmacro.texi | 15 +++++++++++---- 1 file 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 -- 2.39.2