changeset 9314:2c681685646b

(Fend_kbd_macro, Fexecute_kbd_macro): Don't use XFASTINT as an lvalue.
author Karl Heuer <kwzh@gnu.org>
date Tue, 04 Oct 1994 16:06:40 +0000
parents ed68c3822e4b
children 77eba75a44a0
files src/macros.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/macros.c	Tue Oct 04 16:05:54 1994 +0000
+++ b/src/macros.c	Tue Oct 04 16:06:40 1994 +0000
@@ -98,7 +98,7 @@
       error ("Not defining kbd macro.");
 
   if (NILP (arg))
-    XFASTINT (arg) = 1;
+    XSETFASTINT (arg, 1);
   else
     CHECK_NUMBER (arg, 0);
 
@@ -205,7 +205,7 @@
   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);