]> code.delx.au - gnu-emacs/commitdiff
(Fend_kbd_macro, Fexecute_kbd_macro): Don't use XFASTINT as an lvalue.
authorKarl Heuer <kwzh@gnu.org>
Tue, 4 Oct 1994 16:06:40 +0000 (16:06 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 4 Oct 1994 16:06:40 +0000 (16:06 +0000)
src/macros.c

index 6ed3a862865a062ad7906d52a8da75825c57bd59..c19f5c46ebc7fc67475106d97dc9214924e28fbd 100644 (file)
@@ -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);