aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 031bca2faab..ae2350a85f8 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2138,7 +2138,7 @@ read_process_output (proc, channel)
2138 at the current end-of-output marker, 2138 at the current end-of-output marker,
2139 thus preserving logical ordering of input and output. */ 2139 thus preserving logical ordering of input and output. */
2140 if (XMARKER (p->mark)->buffer) 2140 if (XMARKER (p->mark)->buffer)
2141 SET_PT (marker_position (p->mark)); 2141 SET_PT (clip_to_bounds (BEGV, marker_position (p->mark), ZV));
2142 else 2142 else
2143 SET_PT (ZV); 2143 SET_PT (ZV);
2144 2144