diff options
Diffstat (limited to 'src')
| -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 46bff2f94a3..ebe8ef56fff 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1314,6 +1314,7 @@ list_processes_1 (query_only) | |||
| 1314 | register struct Lisp_Process *p; | 1314 | register struct Lisp_Process *p; |
| 1315 | char tembuf[300]; | 1315 | char tembuf[300]; |
| 1316 | int w_proc, w_buffer, w_tty; | 1316 | int w_proc, w_buffer, w_tty; |
| 1317 | int exited = 0; | ||
| 1317 | Lisp_Object i_status, i_buffer, i_tty, i_command; | 1318 | Lisp_Object i_status, i_buffer, i_tty, i_command; |
| 1318 | 1319 | ||
| 1319 | w_proc = 4; /* Proc */ | 1320 | w_proc = 4; /* Proc */ |
| @@ -1440,8 +1441,8 @@ list_processes_1 (query_only) | |||
| 1440 | } | 1441 | } |
| 1441 | } | 1442 | } |
| 1442 | 1443 | ||
| 1443 | if (EQ (symbol, Qsignal) || EQ (symbol, Qexit)) | 1444 | if (EQ (symbol, Qsignal) || EQ (symbol, Qexit) || EQ (symbol, Qclosed)) |
| 1444 | remove_process (proc); | 1445 | exited++; |
| 1445 | 1446 | ||
| 1446 | Findent_to (i_buffer, minspace); | 1447 | Findent_to (i_buffer, minspace); |
| 1447 | if (NILP (p->buffer)) | 1448 | if (NILP (p->buffer)) |
| @@ -1505,6 +1506,8 @@ list_processes_1 (query_only) | |||
| 1505 | insert_string ("\n"); | 1506 | insert_string ("\n"); |
| 1506 | } | 1507 | } |
| 1507 | } | 1508 | } |
| 1509 | if (exited) | ||
| 1510 | status_notify (NULL); | ||
| 1508 | return Qnil; | 1511 | return Qnil; |
| 1509 | } | 1512 | } |
| 1510 | 1513 | ||