# HG changeset patch # User Kim F. Storm # Date 1106572671 0 # Node ID 67ba31b1d2ccb09e0cbf22fe415a748db76aeb72 # Parent 358f1c5da4486a3d02eec31bdee3aad8cf85594c (redisplay_window): Only try to make cursor line fully visible once (to avoid redisplay loop). diff -r 358f1c5da448 -r 67ba31b1d2cc src/xdisp.c --- a/src/xdisp.c Mon Jan 24 13:17:37 2005 +0000 +++ b/src/xdisp.c Mon Jan 24 13:17:51 2005 +0000 @@ -12231,6 +12231,8 @@ /* If centering point failed to make the whole line visible, put point at the top instead. That has to make the whole line visible, if it can be done. */ + if (centering_position == 0) + goto done; clear_glyph_matrix (w->desired_matrix); centering_position = 0; goto point_at_top;