Mercurial > emacs
changeset 25370:20d8158841b0
(code_convert_region): Compute beg/end_unchanged per
buffer.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 23 Aug 1999 00:11:40 +0000 |
parents | 7b65011c5136 |
children | f13b05bf590b |
files | src/coding.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/coding.c Mon Aug 23 00:11:39 1999 +0000 +++ b/src/coding.c Mon Aug 23 00:11:40 1999 +0000 @@ -4432,10 +4432,10 @@ ZV_BYTE -= len_byte; Z_BYTE -= len_byte; - if (GPT - BEG < beg_unchanged) - beg_unchanged = GPT - BEG; - if (Z - GPT < end_unchanged) - end_unchanged = Z - GPT; + if (GPT - BEG < BEG_UNCHANGED) + BEG_UNCHANGED = GPT - BEG; + if (Z - GPT < END_UNCHANGED) + END_UNCHANGED = Z - GPT; for (;;) {