diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-12-19 13:37:40 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-12-19 13:37:40 +0000 |
commit | c74e645b50fd09acfc0283e8c6cf197ce23153bc (patch) | |
tree | a42fa0ea58fbf97e28d6025302d91192ca08d681 /src/dispnew.c | |
parent | 741e56a0e6d1a087ceac937c95543c447fba5e64 (diff) | |
download | emacs-c74e645b50fd09acfc0283e8c6cf197ce23153bc.tar.gz |
(direct_output_for_insert): Fix check for mini-window
currently displaying a message.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r-- | src/dispnew.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index dcff59d5698..721d5186b6c 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -3180,8 +3180,10 @@ direct_output_for_insert (g) || !display_completed /* Give up if buffer appears in two places. */ || buffer_shared > 1 - /* Give up if w is mini-buffer and a message is being displayed there */ - || (MINI_WINDOW_P (w) && !NILP (echo_area_buffer[0])) + /* Give up if currently displaying a message instead of the + minibuffer contents. */ + || (EQ (selected_window, minibuf_window) + && EQ (minibuf_window, echo_area_window)) /* Give up for hscrolled mini-buffer because display of the prompt is handled specially there (see display_line). */ || (MINI_WINDOW_P (w) && XFASTINT (w->hscroll)) |