1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 16:21:07 -08:00

(Fwindow_end): Call move_it_past_eol only if

ending up on a partially visible line.
This commit is contained in:
Gerd Moellmann 2001-03-01 19:33:02 +00:00
parent 028d739af1
commit c3c45f65ba
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-03-01 Gerd Moellmann <gerd@gnu.org>
* window.c (Fwindow_end): Call move_it_past_eol only if
ending up on a partially visible line.
2001-03-01 Dave Love <fx@gnu.org>
* ccl.c (Fccl_execute): Doc fix.

View file

@ -930,7 +930,8 @@ if it isn't already recorded.")
start_display (&it, w, startp);
move_it_vertically (&it, window_box_height (w));
move_it_past_eol (&it);
if (it.current_y < it.last_visible_y)
move_it_past_eol (&it);
value = make_number (IT_CHARPOS (it));
if (old_buffer)