aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/macros.c4
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.")
98 error ("Not defining kbd macro."); 98 error ("Not defining kbd macro.");
99 99
100 if (NILP (arg)) 100 if (NILP (arg))
101 XFASTINT (arg) = 1; 101 XSETFASTINT (arg, 1);
102 else 102 else
103 CHECK_NUMBER (arg, 0); 103 CHECK_NUMBER (arg, 0);
104 104
@@ -205,7 +205,7 @@ COUNT is a repeat count, or nil for once, or 0 for infinite loop.")
205 if (!STRINGP (final) && !VECTORP (final)) 205 if (!STRINGP (final) && !VECTORP (final))
206 error ("Keyboard macros must be strings or vectors."); 206 error ("Keyboard macros must be strings or vectors.");
207 207
208 XFASTINT (tem) = executing_macro_index; 208 XSETFASTINT (tem, executing_macro_index);
209 tem = Fcons (Vexecuting_macro, tem); 209 tem = Fcons (Vexecuting_macro, tem);
210 record_unwind_protect (pop_kbd_macro, tem); 210 record_unwind_protect (pop_kbd_macro, tem);
211 211