diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index c3bbb33509d..4497c1d38c0 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1313,6 +1313,7 @@ list_processes_1 (query_only) | |||
| 1313 | register struct Lisp_Process *p; | 1313 | register struct Lisp_Process *p; |
| 1314 | char tembuf[300]; | 1314 | char tembuf[300]; |
| 1315 | int w_proc, w_buffer, w_tty; | 1315 | int w_proc, w_buffer, w_tty; |
| 1316 | int exited = 0; | ||
| 1316 | Lisp_Object i_status, i_buffer, i_tty, i_command; | 1317 | Lisp_Object i_status, i_buffer, i_tty, i_command; |
| 1317 | 1318 | ||
| 1318 | w_proc = 4; /* Proc */ | 1319 | w_proc = 4; /* Proc */ |
| @@ -1439,8 +1440,8 @@ list_processes_1 (query_only) | |||
| 1439 | } | 1440 | } |
| 1440 | } | 1441 | } |
| 1441 | 1442 | ||
| 1442 | if (EQ (symbol, Qsignal) || EQ (symbol, Qexit)) | 1443 | if (EQ (symbol, Qsignal) || EQ (symbol, Qexit) || EQ (symbol, Qclosed)) |
| 1443 | remove_process (proc); | 1444 | exited++; |
| 1444 | 1445 | ||
| 1445 | Findent_to (i_buffer, minspace); | 1446 | Findent_to (i_buffer, minspace); |
| 1446 | if (NILP (p->buffer)) | 1447 | if (NILP (p->buffer)) |
| @@ -1504,6 +1505,8 @@ list_processes_1 (query_only) | |||
| 1504 | insert_string ("\n"); | 1505 | insert_string ("\n"); |
| 1505 | } | 1506 | } |
| 1506 | } | 1507 | } |
| 1508 | if (exited) | ||
| 1509 | status_notify (NULL); | ||
| 1507 | return Qnil; | 1510 | return Qnil; |
| 1508 | } | 1511 | } |
| 1509 | 1512 | ||