mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
(try_window_id): Compute BEG_UNCHANGED and END_UNCHANGED
if MODIFF > 1.
This commit is contained in:
parent
2765768780
commit
9d60f77200
1 changed files with 1 additions and 1 deletions
|
|
@ -10020,7 +10020,7 @@ try_window_id (w)
|
|||
only if buffer has really changed. The reason is that the gap is
|
||||
initially at Z for freshly visited files. The code below would
|
||||
set end_unchanged to 0 in that case. */
|
||||
if (MODIFF > SAVE_MODIFF)
|
||||
if (MODIFF > 1)
|
||||
{
|
||||
if (GPT - BEG < BEG_UNCHANGED)
|
||||
BEG_UNCHANGED = GPT - BEG;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue