aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-08-01 07:45:35 +0000
committerRichard M. Stallman <[email protected]>1993-08-01 07:45:35 +0000
commit4d09905307e94ddcacb765c6f83cd97ef9918d3e (patch)
tree9ee35c840975bbd4e409cdb2fcc32baabd7ca1b3
parenta5024e2acead4459c2450ff3c2ba5c48a52f56ac (diff)
(main): Generate a SIGIO as soon as we've initialized.
-rw-r--r--lib-src/timer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib-src/timer.c b/lib-src/timer.c
index d6419ef4cc..466425e30a 100644
--- a/lib-src/timer.c
+++ b/lib-src/timer.c
@@ -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 */