diff options
| author | Pavel Janík | 2002-06-13 15:00:02 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-06-13 15:00:02 +0000 |
| commit | e43bd4f5b2960204b76457c1fac2bb9190994a06 (patch) | |
| tree | 2f61cbe7b39426b9dc46108c62b2843f53777101 /src/sysdep.c | |
| parent | 3b8f9651533611460efda94051a280ad558fac0c (diff) | |
| download | emacs-e43bd4f5b2960204b76457c1fac2bb9190994a06.tar.gz emacs-e43bd4f5b2960204b76457c1fac2bb9190994a06.zip | |
*** empty log message ***
Diffstat (limited to 'src/sysdep.c')
| -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 c7e4aba3a82..383be4b9df6 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -2011,7 +2011,7 @@ kbd_input_ast () | |||
| 2011 | if (c >= 0) | 2011 | if (c >= 0) |
| 2012 | { | 2012 | { |
| 2013 | struct input_event e; | 2013 | struct input_event e; |
| 2014 | e.kind = ascii_keystroke; | 2014 | e.kind = ASCII_KEYSTROKE_EVENT; |
| 2015 | XSETINT (e.code, c); | 2015 | XSETINT (e.code, c); |
| 2016 | e.frame_or_window = selected_frame; | 2016 | e.frame_or_window = selected_frame; |
| 2017 | kbd_buffer_store_event (&e); | 2017 | kbd_buffer_store_event (&e); |
| @@ -2680,7 +2680,7 @@ read_input_waiting () | |||
| 2680 | kbd_buffer_store_event (&buf[i]); | 2680 | kbd_buffer_store_event (&buf[i]); |
| 2681 | /* Don't look at input that follows a C-g too closely. | 2681 | /* Don't look at input that follows a C-g too closely. |
| 2682 | This reduces lossage due to autorepeat on C-g. */ | 2682 | This reduces lossage due to autorepeat on C-g. */ |
| 2683 | if (buf[i].kind == ascii_keystroke | 2683 | if (buf[i].kind == ASCII_KEYSTROKE_EVENT |
| 2684 | && buf[i].code == quit_char) | 2684 | && buf[i].code == quit_char) |
| 2685 | break; | 2685 | break; |
| 2686 | } | 2686 | } |
| @@ -2691,7 +2691,7 @@ read_input_waiting () | |||
| 2691 | nread = read (fileno (stdin), buf, 1); | 2691 | nread = read (fileno (stdin), buf, 1); |
| 2692 | 2692 | ||
| 2693 | /* Scan the chars for C-g and store them in kbd_buffer. */ | 2693 | /* Scan the chars for C-g and store them in kbd_buffer. */ |
| 2694 | e.kind = ascii_keystroke; | 2694 | e.kind = ASCII_KEYSTROKE_EVENT; |
| 2695 | e.frame_or_window = selected_frame; | 2695 | e.frame_or_window = selected_frame; |
| 2696 | e.modifiers = 0; | 2696 | e.modifiers = 0; |
| 2697 | for (i = 0; i < nread; i++) | 2697 | for (i = 0; i < nread; i++) |