Mercurial > emacs
diff src/macros.c @ 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 | 9ba3f17d6631 |
children | e00a48bb7ad4 |
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);