aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-08-06 23:37:41 +0000
committerRichard M. Stallman1993-08-06 23:37:41 +0000
commitb30b24cbc359a7db4e6c1dda28f119377d630009 (patch)
treed1bb579e4c4259d1b021885622c7fa12df36df69
parentfe8aeef3c33fe17492786ecb64d03fe9dffced28 (diff)
downloademacs-b30b24cbc359a7db4e6c1dda28f119377d630009.tar.gz
emacs-b30b24cbc359a7db4e6c1dda28f119377d630009.zip
(x_term_init): Set the hooks before we call Fset_input_mode.
-rw-r--r--src/xterm.c8
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);