summaryrefslogtreecommitdiff
path: root/lib-src/timer.c
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
commit4d09905307e94ddcacb765c6f83cd97ef9918d3e (patch)
tree9ee35c840975bbd4e409cdb2fcc32baabd7ca1b3 /lib-src/timer.c
parenta5024e2acead4459c2450ff3c2ba5c48a52f56ac (diff)
downloademacs-4d09905307e94ddcacb765c6f83cd97ef9918d3e.tar.gz
(main): Generate a SIGIO as soon as we've initialized.
Diffstat (limited to 'lib-src/timer.c')
-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 */