# HG changeset patch # User Kim F. Storm # Date 1121247372 0 # Node ID fbf7c36d9934457ce1f0acdc6f0a80a9c35a0681 # Parent 6a7d77aba21b5c11d3c242e18c9a0c094c8735d0 (cursor_row_fully_visible_p): Allow partially visible row in minibuffer windows. (try_window): Don't check margins in minibuffer windows. diff -r 6a7d77aba21b -r fbf7c36d9934 src/xdisp.c --- a/src/xdisp.c Wed Jul 13 09:35:20 2005 +0000 +++ b/src/xdisp.c Wed Jul 13 09:36:12 2005 +0000 @@ -11294,7 +11294,7 @@ window_height = window_box_height (w); if (row->height >= window_height) { - if (!force_p || w->vscroll) + if (!force_p || MINI_WINDOW_P (w) || w->vscroll) return 1; } return 0; @@ -12729,7 +12729,8 @@ } /* Don't let the cursor end in the scroll margins. */ - if (check_margins) + if (check_margins + && !MINI_WINDOW_P (w)) { int this_scroll_margin, cursor_height;