aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2000-11-30 21:57:27 +0000
committerGerd Moellmann <[email protected]>2000-11-30 21:57:27 +0000
commit31b6671b0f630bb35cc964eaa49bc0404b6651e3 (patch)
tree527f762836d2eaa9e560e85038b0bfef61848859
parenteccc05db421c45a9d55d20e5f80d53ce2e10ace8 (diff)
(echo_area_display): If cursor is in the echo area, make
sure that the next redisplay displays the minibuffer, so that the cursor will be replaced with what the minibuffer wants.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xdisp.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ba18459e58..4167ecf40b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
2000-11-30 Gerd Moellmann <[email protected]>
+ * xdisp.c (echo_area_display): If cursor is in the echo area, make
+ sure that the next redisplay displays the minibuffer, so that
+ the cursor will be replaced with what the minibuffer wants.
+
* xterm.c: Test USE_TOOLKIT_SCROLL_BARS everywhere with #ifdef and
#ifndef instead of using #if.
(XTread_socket) [USE_MOTIF] <KeyPress>: Call XmIsScrollBar only if
diff --git a/src/xdisp.c b/src/xdisp.c
index 15e52cde5a..0ea22b6387 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -6631,6 +6631,12 @@ echo_area_display (update_frame_p)
}
else
update_frame (f, 1, 1);
+
+ /* If cursor is in the echo area, make sure that the next
+ redisplay displays the minibuffer, so that the cursor will
+ be replaced with what the minibuffer wants. */
+ if (cursor_in_echo_area)
+ ++windows_or_buffers_changed;
}
}
else if (!EQ (mini_window, selected_window))