summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-08-01 07:45:35 +0000
committerRichard M. Stallman <rms@gnu.org>1993-08-01 07:45:35 +0000
commit8e9abfe10b0fafccb3f6ecdcee1a0253ada6ee18 (patch)
tree986778f261621ae9a15315d7eda16246df7c9e34
parent3cdaefe90a9480e84db683e09d7e69ab8ef3c55a (diff)
downloademacs-8e9abfe10b0fafccb3f6ecdcee1a0253ada6ee18.tar.gz
(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 d6419ef4cc8..466425e30a8 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 */