diff options
| author | Richard M. Stallman | 1994-01-01 15:12:52 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-01-01 15:12:52 +0000 |
| commit | 53aad33f8a1af625c7e675652189f8683a24a014 (patch) | |
| tree | caad8a8b442a3709ca4508a32838fb8a20852ae2 /src/process.c | |
| parent | 4f87ed716df69fc4f86a09ffe9abdeadbdc2658d (diff) | |
| download | emacs-53aad33f8a1af625c7e675652189f8683a24a014.tar.gz emacs-53aad33f8a1af625c7e675652189f8683a24a014.zip | |
(read_process_output): Use clip_to_bounds when moving
to the process marker.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 2 |
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 | ||