summaryrefslogtreecommitdiff
path: root/src/macros.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-10-04 16:06:40 +0000
committerKarl Heuer <kwzh@gnu.org>1994-10-04 16:06:40 +0000
commitaf47c6db92f7d0021c4f4f25a225437bed969916 (patch)
tree7c2480c5de52b74f7810b6534ad53e550a19a011 /src/macros.c
parent798c4c8576a56ed031ed3b17545b8d493b20b4a0 (diff)
downloademacs-af47c6db92f7d0021c4f4f25a225437bed969916.tar.gz
(Fend_kbd_macro, Fexecute_kbd_macro): Don't use XFASTINT as an lvalue.
Diffstat (limited to 'src/macros.c')
-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.")
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);