diff options
| author | Richard M. Stallman | 1993-08-06 23:37:41 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-08-06 23:37:41 +0000 |
| commit | b30b24cbc359a7db4e6c1dda28f119377d630009 (patch) | |
| tree | d1bb579e4c4259d1b021885622c7fa12df36df69 /src | |
| parent | fe8aeef3c33fe17492786ecb64d03fe9dffced28 (diff) | |
| download | emacs-b30b24cbc359a7db4e6c1dda28f119377d630009.tar.gz emacs-b30b24cbc359a7db4e6c1dda28f119377d630009.zip | |
(x_term_init): Set the hooks before we call Fset_input_mode.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/xterm.c b/src/xterm.c index 382c93ce82d..535031e8dd6 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -4850,11 +4850,6 @@ Check the DISPLAY environment variable or use \"-d\"\n", | |||
| 4850 | init_sigio (); | 4850 | init_sigio (); |
| 4851 | #endif /* ! defined (SIGIO) */ | 4851 | #endif /* ! defined (SIGIO) */ |
| 4852 | 4852 | ||
| 4853 | /* Must use interrupt input because we cannot otherwise | ||
| 4854 | arrange for C-g to be noticed immediately. | ||
| 4855 | We cannot connect it to SIGINT. */ | ||
| 4856 | Fset_input_mode (Qt, Qnil, Qt, Qnil); | ||
| 4857 | |||
| 4858 | expose_all_windows = 0; | 4853 | expose_all_windows = 0; |
| 4859 | 4854 | ||
| 4860 | clear_frame_hook = XTclear_frame; | 4855 | clear_frame_hook = XTclear_frame; |
| @@ -4889,6 +4884,9 @@ Check the DISPLAY environment variable or use \"-d\"\n", | |||
| 4889 | off the bottom */ | 4884 | off the bottom */ |
| 4890 | baud_rate = 19200; | 4885 | baud_rate = 19200; |
| 4891 | 4886 | ||
| 4887 | /* Try to use interrupt input; if we can't, then start polling. */ | ||
| 4888 | Fset_input_mode (Qt, Qnil, Qt, Qnil); | ||
| 4889 | |||
| 4892 | /* Note that there is no real way portable across R3/R4 to get the | 4890 | /* Note that there is no real way portable across R3/R4 to get the |
| 4893 | original error handler. */ | 4891 | original error handler. */ |
| 4894 | XHandleError (x_error_quitter); | 4892 | XHandleError (x_error_quitter); |