diff options
| author | Michael I. Bushnell | 1993-01-08 20:26:54 +0000 |
|---|---|---|
| committer | Michael I. Bushnell | 1993-01-08 20:26:54 +0000 |
| commit | 507876f3c776a033119030e817dcf1a423ea5f2f (patch) | |
| tree | c78e1f4558b4fbdc9ad3dab98ad54cecac097922 /lib-src/timer.c | |
| parent | ac96728ddaeb952da40ebda93e7b82b5953601a5 (diff) | |
| download | emacs-507876f3c776a033119030e817dcf1a423ea5f2f.tar.gz emacs-507876f3c776a033119030e817dcf1a423ea5f2f.zip | |
timer.c (notify): Flush stdout after writing message to avoid lossage
on terminals.
Diffstat (limited to 'lib-src/timer.c')
| -rw-r--r-- | lib-src/timer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib-src/timer.c b/lib-src/timer.c index a12295db014..6563965d8e2 100644 --- a/lib-src/timer.c +++ b/lib-src/timer.c | |||
| @@ -131,6 +131,7 @@ notify () | |||
| 131 | if (ep->reply_at <= now) | 131 | if (ep->reply_at <= now) |
| 132 | { | 132 | { |
| 133 | fputs (ep->token, stdout); | 133 | fputs (ep->token, stdout); |
| 134 | fflush (stdout); | ||
| 134 | free (ep->token); | 135 | free (ep->token); |
| 135 | 136 | ||
| 136 | /* We now have a hole in the event array; fill it with the last | 137 | /* We now have a hole in the event array; fill it with the last |