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 | 0ad61fe7d7c6f00679cbfafedc3e294a88c80fdb (patch) | |
tree | 0a89b20ebcf99dce3494641ebb9fcf3b1a0bd409 /src/process.c | |
parent | 5300fd39c3e58e27148b62ed2a1190f5aff95de9 (diff) | |
download | emacs-0ad61fe7d7c6f00679cbfafedc3e294a88c80fdb.tar.gz |
(status_notify): Update p->tick again
just before running the sentinel, in case it dies.
Diffstat (limited to 'src/process.c')
-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); |