aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-10-04 16:06:40 +0000
committerKarl Heuer1994-10-04 16:06:40 +0000
commita4773b43feba75567f7e4f913be17386aeac69ab (patch)
treea0db65834a3edfea237273d765858d526eaf6bbf /src
parentbaf698660d690c2971ec6447e9eeceac95dc5f48 (diff)
downloademacs-a4773b43feba75567f7e4f913be17386aeac69ab.tar.gz
emacs-a4773b43feba75567f7e4f913be17386aeac69ab.zip
(Fend_kbd_macro, Fexecute_kbd_macro): Don't use XFASTINT as an lvalue.
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