From c67af3f49f5dfac6d7a0cfe8643422c97b8909fc Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 22 Dec 2002 21:59:20 +0000 Subject: [PATCH] (try_cursor_movement): Don't call try_window here. (redisplay_window): Never redisplay minibuffer when inactive. --- src/xdisp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index b795a9ff998..1feb3830b25 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -10111,7 +10111,6 @@ try_cursor_movement (window, startp, scroll_step) 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 @@ redisplay_window (window, just_this_one_p) /* 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. */