Commit f523e0c3 authored by Stefan Monnier's avatar Stefan Monnier

(Fmake_network_process): Init the process's mark.

parent 19cd88cc
2006-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
* process.c (Fmake_network_process): Init the process's mark.
2006-02-25 Kim F. Storm <storm@cua.dk>
* buffer.c (modify_overlay): Force redisplay if we modify an
......
......@@ -1582,7 +1582,7 @@ usage: (start-process NAME BUFFER PROGRAM &rest PROGRAM-ARGS) */)
#endif
/* Make the process marker point into the process buffer (if any). */
if (!NILP (buffer))
if (BUFFERP (buffer))
set_marker_both (XPROCESS (proc)->mark, buffer,
BUF_ZV (XBUFFER (buffer)),
BUF_ZV_BYTE (XBUFFER (buffer)));
......@@ -3355,6 +3355,12 @@ usage: (make-network-process &rest ARGS) */)
if (is_server && socktype == SOCK_STREAM)
p->status = Qlisten;
/* Make the process marker point into the process buffer (if any). */
if (BUFFERP (buffer))
set_marker_both (p->mark, buffer,
BUF_ZV (XBUFFER (buffer)),
BUF_ZV_BYTE (XBUFFER (buffer)));
#ifdef NON_BLOCKING_CONNECT
if (is_non_blocking_client)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment