diff options
| author | Karl Heuer | 1994-10-04 12:26:19 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-10-04 12:26:19 +0000 |
| commit | c81d47b43d58fe58fa3f22718932e67ccc3d9892 (patch) | |
| tree | 61ead708618da3991c15768f41a134c711e10829 | |
| parent | a3668d925815832136f15d3fabe0122ed851b616 (diff) | |
| download | emacs-c81d47b43d58fe58fa3f22718932e67ccc3d9892.tar.gz emacs-c81d47b43d58fe58fa3f22718932e67ccc3d9892.zip | |
(kbd_input_ast, read_input_waiting): Use new accessor macros instead of
calling XSET directly.
| -rw-r--r-- | src/sysdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index a696e2192d4..36527dd735b 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -1704,9 +1704,9 @@ kbd_input_ast () | |||
| 1704 | { | 1704 | { |
| 1705 | struct input_event e; | 1705 | struct input_event e; |
| 1706 | e.kind = ascii_keystroke; | 1706 | e.kind = ascii_keystroke; |
| 1707 | XSET (e.code, Lisp_Int, c); | 1707 | XSETINT (e.code, c); |
| 1708 | #ifdef MULTI_FRAME | 1708 | #ifdef MULTI_FRAME |
| 1709 | XSET(e.frame_or_window, Lisp_Frame, selected_frame); | 1709 | XSETFRAME (e.frame_or_window, selected_frame); |
| 1710 | #else | 1710 | #else |
| 1711 | e.frame_or_window = Qnil; | 1711 | e.frame_or_window = Qnil; |
| 1712 | #endif | 1712 | #endif |
| @@ -2335,7 +2335,7 @@ read_input_waiting () | |||
| 2335 | buf[i] &= ~0x80; | 2335 | buf[i] &= ~0x80; |
| 2336 | } | 2336 | } |
| 2337 | 2337 | ||
| 2338 | XSET (e.code, Lisp_Int, buf[i]); | 2338 | XSETINT (e.code, buf[i]); |
| 2339 | kbd_buffer_store_event (&e); | 2339 | kbd_buffer_store_event (&e); |
| 2340 | /* Don't look at input that follows a C-g too closely. | 2340 | /* Don't look at input that follows a C-g too closely. |
| 2341 | This reduces lossage due to autorepeat on C-g. */ | 2341 | This reduces lossage due to autorepeat on C-g. */ |