computing how much to scroll.
+2004-04-16 Juanma Barranquero <lektu@terra.es>
+
+ * xdisp.c (try_scrolling): Make sure `scroll-conservatively' is
+ not too large before computing how much to scroll.
+
2004-04-14 Luc Teirlinck <teirllm@auburn.edu>
* fileio.c (Fverify_visited_file_modtime, Fvisited_file_modtime):
else
this_scroll_margin = 0;
+ /* Force scroll_conservatively to have a reasonable value so it doesn't
+ cause an overflow while computing how much to scroll. */
+ if (scroll_conservatively)
+ scroll_conservatively = min (scroll_conservatively,
+ MOST_POSITIVE_FIXNUM / FRAME_LINE_HEIGHT (f));
+
/* Compute how much we should try to scroll maximally to bring point
into view. */
if (scroll_step || scroll_conservatively || temp_scroll_step)