From: Gerd Moellmann Date: Thu, 30 Nov 2000 21:57:27 +0000 (+0000) Subject: (echo_area_display): If cursor is in the echo area, make X-Git-Tag: emacs-pretest-21.0.93~326 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=31b6671b0f630bb35cc964eaa49bc0404b6651e3;p=emacs.git (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. --- diff --git a/src/ChangeLog b/src/ChangeLog index ba18459e58c..4167ecf40b0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2000-11-30 Gerd Moellmann + * 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] : Call XmIsScrollBar only if diff --git a/src/xdisp.c b/src/xdisp.c index 15e52cde5aa..0ea22b6387e 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))