diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-10-26 16:01:03 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-10-26 16:01:03 +0000 |
commit | d326b54264384617bd30fa1b520030e51ae804be (patch) | |
tree | f2287fc9210e790f3ab717e78764b11a571fdcdf | |
parent | a502d055418cc3f1bd6643a87d81550fa7973928 (diff) | |
download | emacs-d326b54264384617bd30fa1b520030e51ae804be.tar.gz |
(status_notify): Update p->tick again
just before running the sentinel, in case it dies.
-rw-r--r-- | src/process.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c index 8880b8c9ca4..296f8606ea4 100644 --- a/src/process.c +++ b/src/process.c @@ -3614,6 +3614,11 @@ status_notify () 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); |