[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/process.c
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/src/process.c |
Date: |
Sat, 25 Feb 2006 16:49:01 +0000 |
Index: emacs/src/process.c
diff -u emacs/src/process.c:1.473 emacs/src/process.c:1.474
--- emacs/src/process.c:1.473 Mon Feb 6 15:23:21 2006
+++ emacs/src/process.c Sat Feb 25 16:49:00 2006
@@ -1582,7 +1582,7 @@
#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 @@
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)
{