# HG changeset patch # User Richard M. Stallman # Date 804332298 0 # Node ID 6e374b28ecc306916514fdf95529edf44f016e3c # Parent 67f759e94c3e500057af56f4ab66630722f6cf57 (update_frame): Pretend cursor is in echo area rather than put it in a minuffer hidden by the echo area. diff -r 67f759e94c3e -r 6e374b28ecc3 src/dispnew.c --- a/src/dispnew.c Wed Jun 28 01:47:55 1995 +0000 +++ b/src/dispnew.c Wed Jun 28 09:38:18 1995 +0000 @@ -1327,9 +1327,14 @@ /* Now just clean up termcap drivers and set cursor, etc. */ if (!pause) { - if (cursor_in_echo_area - && FRAME_HAS_MINIBUF_P (f) - && EQ (FRAME_MINIBUF_WINDOW (f), minibuf_window)) + if ((cursor_in_echo_area + && FRAME_HAS_MINIBUF_P (f) + && EQ (FRAME_MINIBUF_WINDOW (f), minibuf_window)) + /* If we are showing a message instead of the minibuffer, + show the cursor for the message instead of for the + (now hidden) minibuffer contents. */ + || (EQ (minibuf_window, selected_window) + && echo_area_glyphs != 0)) { int top = XINT (XWINDOW (FRAME_MINIBUF_WINDOW (f))->top); int row, col;