]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_term_init): Set the hooks before we call Fset_input_mode.
authorRichard M. Stallman <rms@gnu.org>
Fri, 6 Aug 1993 23:37:41 +0000 (23:37 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 6 Aug 1993 23:37:41 +0000 (23:37 +0000)
src/xterm.c

index 382c93ce82d45cdbf5f3007551fde3b33be665be..535031e8dd61ca1331bac8c771ed9f266be4df49 100644 (file)
@@ -4850,11 +4850,6 @@ Check the DISPLAY environment variable or use \"-d\"\n",
   init_sigio ();
 #endif /* ! defined (SIGIO) */
 
-  /* Must use interrupt input because we cannot otherwise
-     arrange for C-g to be noticed immediately.
-     We cannot connect it to SIGINT.  */
-  Fset_input_mode (Qt, Qnil, Qt, Qnil);
-
   expose_all_windows = 0;
 
   clear_frame_hook = XTclear_frame;
@@ -4889,6 +4884,9 @@ Check the DISPLAY environment variable or use \"-d\"\n",
                                   off the bottom */
   baud_rate = 19200;
 
+  /* Try to use interrupt input; if we can't, then start polling.  */
+  Fset_input_mode (Qt, Qnil, Qt, Qnil);
+
   /* Note that there is no real way portable across R3/R4 to get the 
      original error handler.  */
   XHandleError (x_error_quitter);