# HG changeset patch # User Richard M. Stallman # Date 1040594360 0 # Node ID a9565e3d6e349a5b907b653c085974d21110bb51 # Parent 148675770a175a6e73a12174e3d7460aef2bfaee (try_cursor_movement): Don't call try_window here. (redisplay_window): Never redisplay minibuffer when inactive. diff -r 148675770a17 -r a9565e3d6e34 src/xdisp.c --- a/src/xdisp.c Sun Dec 22 21:57:05 2002 +0000 +++ b/src/xdisp.c Sun Dec 22 21:59:20 2002 +0000 @@ -10111,7 +10111,6 @@ else { set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0); - try_window (window, startp); if (!make_cursor_line_fully_visible (w)) rc = CURSOR_MOVEMENT_MUST_SCROLL; else @@ -10194,7 +10193,8 @@ /* We've already displayed the echo area glyphs in this window. */ goto finish_scroll_bars; } - else if (w != XWINDOW (minibuf_window)) + else if (w != XWINDOW (minibuf_window) + || minibuf_level == 0) { /* W is a mini-buffer window, but it's not the currently active one, so clear it. */