Mercurial > emacs
diff src/process.c @ 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 | 21bffe027a7d |
| children | 7a0de0f56c86 |
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);
