Commit c3c45f65 authored by Gerd Moellmann's avatar Gerd Moellmann

(Fwindow_end): Call move_it_past_eol only if

ending up on a partially visible line.
parent 028d739a
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.
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment