mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-06 20:49:33 +00:00
(Fend_kbd_macro, Fexecute_kbd_macro): Don't use XFASTINT as an lvalue.
This commit is contained in:
parent
baf698660d
commit
a4773b43fe
@ -98,7 +98,7 @@ An argument of zero means repeat until error.")
|
||||
error ("Not defining kbd macro.");
|
||||
|
||||
if (NILP (arg))
|
||||
XFASTINT (arg) = 1;
|
||||
XSETFASTINT (arg, 1);
|
||||
else
|
||||
CHECK_NUMBER (arg, 0);
|
||||
|
||||
@ -205,7 +205,7 @@ COUNT is a repeat count, or nil for once, or 0 for infinite loop.")
|
||||
if (!STRINGP (final) && !VECTORP (final))
|
||||
error ("Keyboard macros must be strings or vectors.");
|
||||
|
||||
XFASTINT (tem) = executing_macro_index;
|
||||
XSETFASTINT (tem, executing_macro_index);
|
||||
tem = Fcons (Vexecuting_macro, tem);
|
||||
record_unwind_protect (pop_kbd_macro, tem);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user