Use \\[name-last-kbd-macro] to give it a permanent name.
Non-nil arg (prefix arg) means append to last macro defined;
this begins by re-executing that macro as if you typed it again.
-If optional second arg, NO-EXEC, is non-nil, do not re-execute last
+If optional second arg, NO-EXEC, is non-nil, do not re-execute last
macro before appending to it. */)
(append, no_exec)
Lisp_Object append, no_exec;
message ("Appending to kbd macro...");
}
current_kboard->defining_kbd_macro = Qt;
-
+
return Qnil;
}
counting the definition just completed as the first repetition.
An argument of zero means repeat until error.
-In Lisp, optional second arg LOOPFUNC may be a function that is called prior to
+In Lisp, optional second arg LOOPFUNC may be a function that is called prior to
each iteration of the macro. Iteration stops if LOOPFUNC returns nil. */)
(repeat, loopfunc)
Lisp_Object repeat, loopfunc;
if (kb->kbd_macro_ptr - kb->kbd_macro_buffer == kb->kbd_macro_bufsize)
{
int ptr_offset, end_offset, nbytes;
-
+
ptr_offset = kb->kbd_macro_ptr - kb->kbd_macro_buffer;
end_offset = kb->kbd_macro_end - kb->kbd_macro_buffer;
kb->kbd_macro_bufsize *= 2;
kb->kbd_macro_ptr = kb->kbd_macro_buffer + ptr_offset;
kb->kbd_macro_end = kb->kbd_macro_buffer + end_offset;
}
-
+
*kb->kbd_macro_ptr++ = c;
}
}
A prefix argument serves as a repeat count. Zero means repeat until error.
To make a macro permanent so you can call it even after
-defining others, use \\[name-last-kbd-macro].
+defining others, use \\[name-last-kbd-macro].
-In Lisp, optional second arg LOOPFUNC may be a function that is called prior to
+In Lisp, optional second arg LOOPFUNC may be a function that is called prior to
each iteration of the macro. Iteration stops if LOOPFUNC returns nil. */)
(prefix, loopfunc)
Lisp_Object prefix, loopfunc;
DEFUN ("execute-kbd-macro", Fexecute_kbd_macro, Sexecute_kbd_macro, 1, 3, 0,
doc: /* Execute MACRO as string of editor command characters.
If MACRO is a symbol, its function definition is used.
-COUNT is a repeat count, or nil for once, or 0 for infinite loop.
+COUNT is a repeat count, or nil for once, or 0 for infinite loop.
-Optional third arg LOOPFUNC may be a function that is called prior to
+Optional third arg LOOPFUNC may be a function that is called prior to
each iteration of the macro. Iteration stops if LOOPFUNC returns nil. */)
(macro, count, loopfunc)
Lisp_Object macro, count, loopfunc;