Mercurial > emacs
diff src/sysdep.c @ 9279:2382e2f3884e
(kbd_input_ast, read_input_waiting): Use new accessor macros instead of
calling XSET directly.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 04 Oct 1994 12:26:19 +0000 |
parents | d4ad53f37cc7 |
children | 4dd2d351ea53 |
line wrap: on
line diff
--- a/src/sysdep.c Tue Oct 04 12:22:12 1994 +0000 +++ b/src/sysdep.c Tue Oct 04 12:26:19 1994 +0000 @@ -1704,9 +1704,9 @@ { struct input_event e; e.kind = ascii_keystroke; - XSET (e.code, Lisp_Int, c); + XSETINT (e.code, c); #ifdef MULTI_FRAME - XSET(e.frame_or_window, Lisp_Frame, selected_frame); + XSETFRAME (e.frame_or_window, selected_frame); #else e.frame_or_window = Qnil; #endif @@ -2335,7 +2335,7 @@ buf[i] &= ~0x80; } - XSET (e.code, Lisp_Int, buf[i]); + XSETINT (e.code, buf[i]); kbd_buffer_store_event (&e); /* Don't look at input that follows a C-g too closely. This reduces lossage due to autorepeat on C-g. */