From 53aad33f8a1af625c7e675652189f8683a24a014 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 1 Jan 1994 15:12:52 +0000 Subject: [PATCH] (read_process_output): Use clip_to_bounds when moving to the process marker. --- src/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process.c b/src/process.c index 031bca2faa..ae2350a85f 100644 --- a/src/process.c +++ b/src/process.c @@ -2138,7 +2138,7 @@ read_process_output (proc, channel) at the current end-of-output marker, thus preserving logical ordering of input and output. */ if (XMARKER (p->mark)->buffer) - SET_PT (marker_position (p->mark)); + SET_PT (clip_to_bounds (BEGV, marker_position (p->mark), ZV)); else SET_PT (ZV); -- 2.20.1