diff options
-rw-r--r-- | src/macros.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/macros.c b/src/macros.c index 6ed3a862865..c19f5c46ebc 100644 --- a/src/macros.c +++ b/src/macros.c @@ -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); |