int lines = (rest + CANON_Y_UNIT (f) - 1) / CANON_Y_UNIT (f);
it.vpos += lines;
}
-#if 0
- else if (it.current_y < height && bottom_y > height)
- /* Partially visible line at the bottom. */
- ++it.vpos;
-#endif
-
+
return it.vpos;
}
XSETINT (arg, XINT (arg) + lines);
}
+ if (w->vscroll)
+ /* Skip past a partially visible first line. */
+ XSETINT (arg, XINT (arg) + 1);
+
return Fvertical_motion (arg, window);
}