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
commita4773b43feba75567f7e4f913be17386aeac69ab (patch)
treea0db65834a3edfea237273d765858d526eaf6bbf /src/macros.c
parentbaf698660d690c2971ec6447e9eeceac95dc5f48 (diff)
downloademacs-a4773b43feba75567f7e4f913be17386aeac69ab.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);