Mercurial > emacs
changeset 5404:a609e717764d
(read_process_output): Use clip_to_bounds when moving
to the process marker.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 01 Jan 1994 15:12:52 +0000 |
parents | 0e488f8ef02c |
children | b8b672fe2075 |
files | src/process.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Sat Jan 01 15:11:38 1994 +0000 +++ b/src/process.c Sat Jan 01 15:12:52 1994 +0000 @@ -2138,7 +2138,7 @@ 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);