Commit a4773b43 authored by Karl Heuer's avatar Karl Heuer
Browse files

(Fend_kbd_macro, Fexecute_kbd_macro): Don't use XFASTINT as an lvalue.

parent baf69866
......@@ -98,7 +98,7 @@ An argument of zero means repeat until error.")
error ("Not defining kbd macro.");
if (NILP (arg))
XFASTINT (arg) = 1;
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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment