Correct same_at_end when restoring window points
commite2815bfe2a1e4d5a21d6b6378ebc2108d4d104ab
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 15 Dec 2014 08:00:50 +0000 (15 00:00 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 15 Dec 2014 08:01:42 +0000 (15 00:01 -0800)
treed831506ddf8ed49830d9211db95a335039783a1a
parent872617ad730906f9437b90c3b90af2e2458f00f6
Correct same_at_end when restoring window points

* fileio.c (Finsert_file_contents): Compute same_at_end character
position using the old buffer size, not the new one, since
restore_window_points wants the old size.
Fixes: debbugs:19161
src/ChangeLog
src/fileio.c