aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-12-22 21:59:20 +0000
committerRichard M. Stallman2002-12-22 21:59:20 +0000
commitc67af3f49f5dfac6d7a0cfe8643422c97b8909fc (patch)
treef72f662ec2ecf4cb59da6d600ca519db25cc1f03
parentd17551171b121c360874a9710e1fee7dddffeb66 (diff)
downloademacs-c67af3f49f5dfac6d7a0cfe8643422c97b8909fc.tar.gz
emacs-c67af3f49f5dfac6d7a0cfe8643422c97b8909fc.zip
(try_cursor_movement): Don't call try_window here.
(redisplay_window): Never redisplay minibuffer when inactive.
-rw-r--r--src/xdisp.c4
1 files 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)
10111 else 10111 else
10112 { 10112 {
10113 set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0); 10113 set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0);
10114 try_window (window, startp);
10115 if (!make_cursor_line_fully_visible (w)) 10114 if (!make_cursor_line_fully_visible (w))
10116 rc = CURSOR_MOVEMENT_MUST_SCROLL; 10115 rc = CURSOR_MOVEMENT_MUST_SCROLL;
10117 else 10116 else
@@ -10194,7 +10193,8 @@ redisplay_window (window, just_this_one_p)
10194 /* We've already displayed the echo area glyphs in this window. */ 10193 /* We've already displayed the echo area glyphs in this window. */
10195 goto finish_scroll_bars; 10194 goto finish_scroll_bars;
10196 } 10195 }
10197 else if (w != XWINDOW (minibuf_window)) 10196 else if (w != XWINDOW (minibuf_window)
10197 || minibuf_level == 0)
10198 { 10198 {
10199 /* W is a mini-buffer window, but it's not the currently 10199 /* W is a mini-buffer window, but it's not the currently
10200 active one, so clear it. */ 10200 active one, so clear it. */