aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-12-19 13:37:40 +0000
committerGerd Moellmann2000-12-19 13:37:40 +0000
commitc74e645b50fd09acfc0283e8c6cf197ce23153bc (patch)
treea42fa0ea58fbf97e28d6025302d91192ca08d681 /src
parent741e56a0e6d1a087ceac937c95543c447fba5e64 (diff)
downloademacs-c74e645b50fd09acfc0283e8c6cf197ce23153bc.tar.gz
emacs-c74e645b50fd09acfc0283e8c6cf197ce23153bc.zip
(direct_output_for_insert): Fix check for mini-window
currently displaying a message.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/dispnew.c6
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b67fa850781..8a3ae831ea3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12000-12-19 Gerd Moellmann <gerd@gnu.org> 12000-12-19 Gerd Moellmann <gerd@gnu.org>
2 2
3 * dispnew.c (direct_output_for_insert): Fix check for mini-window
4 currently displaying a message.
5
3 * bytecode.c (toplevel) [CHECK_FRAME_FONT]: Include frame.h and 6 * bytecode.c (toplevel) [CHECK_FRAME_FONT]: Include frame.h and
4 xterm.h. 7 xterm.h.
5 (Fbyte_code) [CHECK_FRAME_FONT]: Check the selected frame's font. 8 (Fbyte_code) [CHECK_FRAME_FONT]: Check the selected frame's font.
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)
3180 || !display_completed 3180 || !display_completed
3181 /* Give up if buffer appears in two places. */ 3181 /* Give up if buffer appears in two places. */
3182 || buffer_shared > 1 3182 || buffer_shared > 1
3183 /* Give up if w is mini-buffer and a message is being displayed there */ 3183 /* Give up if currently displaying a message instead of the
3184 || (MINI_WINDOW_P (w) && !NILP (echo_area_buffer[0])) 3184 minibuffer contents. */
3185 || (EQ (selected_window, minibuf_window)
3186 && EQ (minibuf_window, echo_area_window))
3185 /* Give up for hscrolled mini-buffer because display of the prompt 3187 /* Give up for hscrolled mini-buffer because display of the prompt
3186 is handled specially there (see display_line). */ 3188 is handled specially there (see display_line). */
3187 || (MINI_WINDOW_P (w) && XFASTINT (w->hscroll)) 3189 || (MINI_WINDOW_P (w) && XFASTINT (w->hscroll))