Mercurial > emacs
changeset 16464:c1f19d8e5b80
(status_notify): Update p->tick again
just before running the sentinel, in case it dies.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 26 Oct 1996 16:01:03 +0000 |
parents | c6a338fd1938 |
children | 398e3995162d |
files | src/process.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Sat Oct 26 16:00:39 1996 +0000 +++ b/src/process.c Sat Oct 26 16:01:03 1996 +0000 @@ -3614,6 +3614,11 @@ deactivate_process (proc); } + /* The actions above may have further incremented p->tick. + So set p->update_tick again + so that an error in the sentinel will not cause + this code to be run again. */ + XSETINT (p->update_tick, XINT (p->tick)); /* Now output the message suitably. */ if (!NILP (p->sentinel)) exec_sentinel (proc, msg);