Mercurial > emacs
diff src/process.c @ 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 | 02044b05d8e0 |
children | 3a93437adce1 |
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);