]> git.eshelyaron.com Git - emacs.git/commitdiff
(main): Generate a SIGIO as soon as we've initialized.
authorRichard M. Stallman <rms@gnu.org>
Sun, 1 Aug 1993 07:45:35 +0000 (07:45 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 1 Aug 1993 07:45:35 +0000 (07:45 +0000)
lib-src/timer.c

index d6419ef4cc8a9b7efa6b18e510bf5b6fc5a3ceb6..466425e30a859e1ef076d720f8c2155d0a42b038 100644 (file)
@@ -293,8 +293,12 @@ main (argc, argv)
     }
 #endif /* USG */
 
+  /* In case Emacs sent some input before we set up
+     the handling of SIGIO, read it now.  */
+  kill (0, SIGIO);
+
   for (;;)
-      pause ();
+    pause ();
 }
 
 /* timer.c ends here */