aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorRichard M. Stallman1996-10-26 16:01:03 +0000
committerRichard M. Stallman1996-10-26 16:01:03 +0000
commit0ad61fe7d7c6f00679cbfafedc3e294a88c80fdb (patch)
tree0a89b20ebcf99dce3494641ebb9fcf3b1a0bd409 /src/process.c
parent5300fd39c3e58e27148b62ed2a1190f5aff95de9 (diff)
downloademacs-0ad61fe7d7c6f00679cbfafedc3e294a88c80fdb.tar.gz
emacs-0ad61fe7d7c6f00679cbfafedc3e294a88c80fdb.zip
(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.c5
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 ()
3614 deactivate_process (proc); 3614 deactivate_process (proc);
3615 } 3615 }
3616 3616
3617 /* The actions above may have further incremented p->tick.
3618 So set p->update_tick again
3619 so that an error in the sentinel will not cause
3620 this code to be run again. */
3621 XSETINT (p->update_tick, XINT (p->tick));
3617 /* Now output the message suitably. */ 3622 /* Now output the message suitably. */
3618 if (!NILP (p->sentinel)) 3623 if (!NILP (p->sentinel))
3619 exec_sentinel (proc, msg); 3624 exec_sentinel (proc, msg);