Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1eed3bdc
Commit
1eed3bdc
authored
Oct 03, 2006
by
Kim F. Storm
Browse files
(list_processes_1): Run sentinels before removing dead
processes. Also remove `closed' network connections.
parent
67099291
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/process.c
src/process.c
+5
-2
No files found.
src/process.c
View file @
1eed3bdc
...
...
@@ -1314,6 +1314,7 @@ list_processes_1 (query_only)
register struct Lisp_Process *p;
char tembuf[300];
int w_proc, w_buffer, w_tty;
int exited = 0;
Lisp_Object i_status, i_buffer, i_tty, i_command;
w_proc = 4; /* Proc */
...
...
@@ -1440,8 +1441,8 @@ list_processes_1 (query_only)
}
}
if
(
EQ
(
symbol
,
Qsignal
)
||
EQ
(
symbol
,
Qexit
))
remove_process
(
proc
)
;
if (EQ (symbol, Qsignal) || EQ (symbol, Qexit)
|| EQ (symbol, Qclosed)
)
exited++
;
Findent_to (i_buffer, minspace);
if (NILP (p->buffer))
...
...
@@ -1505,6 +1506,8 @@ list_processes_1 (query_only)
insert_string ("\n");
}
}
if (exited)
status_notify (NULL);
return Qnil;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment