diff options
| author | Gerd Moellmann | 1999-12-28 12:05:39 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-12-28 12:05:39 +0000 |
| commit | 9d60f77200a72fa9367704b061ebba92b04b69c1 (patch) | |
| tree | c24c5f2358bb3dc1eb3fc2619ee332bc1db6ef3c /src | |
| parent | 2765768780bdde267d82ad59496b12b492871eb3 (diff) | |
| download | emacs-9d60f77200a72fa9367704b061ebba92b04b69c1.tar.gz emacs-9d60f77200a72fa9367704b061ebba92b04b69c1.zip | |
(try_window_id): Compute BEG_UNCHANGED and END_UNCHANGED
if MODIFF > 1.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 662a37fd592..8563f015d07 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -10020,7 +10020,7 @@ try_window_id (w) | |||
| 10020 | only if buffer has really changed. The reason is that the gap is | 10020 | only if buffer has really changed. The reason is that the gap is |
| 10021 | initially at Z for freshly visited files. The code below would | 10021 | initially at Z for freshly visited files. The code below would |
| 10022 | set end_unchanged to 0 in that case. */ | 10022 | set end_unchanged to 0 in that case. */ |
| 10023 | if (MODIFF > SAVE_MODIFF) | 10023 | if (MODIFF > 1) |
| 10024 | { | 10024 | { |
| 10025 | if (GPT - BEG < BEG_UNCHANGED) | 10025 | if (GPT - BEG < BEG_UNCHANGED) |
| 10026 | BEG_UNCHANGED = GPT - BEG; | 10026 | BEG_UNCHANGED = GPT - BEG; |