774 |
XSETINT (XPROCESS (process)->tick, ++process_tick); |
XSETINT (XPROCESS (process)->tick, ++process_tick); |
775 |
status_notify (); |
status_notify (); |
776 |
} |
} |
777 |
remove_process (process); |
/* Do not call remove_process here; either status_notify has already done |
778 |
|
it, or will do so the next time emacs polls for input. Thus network |
779 |
|
processes are not immediately removed, and their sentinel will be |
780 |
|
called. |
781 |
|
|
782 |
|
Since Fdelete_process is called by kill_buffer_processes, this also |
783 |
|
means that a network process sentinel will run after the buffer is |
784 |
|
dead, which would not be the case if status_notify() were called |
785 |
|
unconditionally here. This way process sentinels observe consistent |
786 |
|
behavior with regard to buffer-live-p. |
787 |
|
*/ |
788 |
|
/* remove_process (process); */ |
789 |
return Qnil; |
return Qnil; |
790 |
} |
} |
791 |
|
|
4592 |
} |
} |
4593 |
} |
} |
4594 |
#ifdef NON_BLOCKING_CONNECT |
#ifdef NON_BLOCKING_CONNECT |
4595 |
if (check_connect && FD_ISSET (channel, &Connecting)) |
if (check_connect && FD_ISSET (channel, &Connecting) |
4596 |
|
&& FD_ISSET (channel, &connect_wait_mask)) |
4597 |
{ |
{ |
4598 |
struct Lisp_Process *p; |
struct Lisp_Process *p; |
4599 |
|
|