Mercurial > emacs
changeset 366:f756ede77561
entered into RCS
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 30 Jul 1991 21:04:22 +0000 |
parents | cba0546ba47c |
children | 6c230193acf9 |
files | lib-src/=wakeup.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/=wakeup.c Tue Jul 30 08:53:37 1991 +0000 +++ b/lib-src/=wakeup.c Tue Jul 30 21:04:22 1991 +0000 @@ -18,6 +18,9 @@ while (1) { + /* Make sure wakeup stops when Emacs goes away. */ + if (getppid () == 1) + exit (0); printf ("Wake up!\n"); fflush (stdout); /* If using a period of 60, produce the output when the minute