From 319c2de9dab577ea97f6c63cb8fd5b7ac3da82b0 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 18 Nov 2017 13:41:03 +0200 Subject: [PATCH] Avoid assertion violations in echo_area_display * src/xdisp.c (echo_area_display): Don't try redisplaying the echo area if the selected-frame's mini-window is nil. (Bug#27647) --- src/xdisp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xdisp.c b/src/xdisp.c index 4c82737e410..02c5d76e06b 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -11510,6 +11510,9 @@ echo_area_display (bool update_frame_p) struct frame *sf = SELECTED_FRAME (); mini_window = FRAME_MINIBUF_WINDOW (sf); + if (NILP (mini_window)) + return; + w = XWINDOW (mini_window); f = XFRAME (WINDOW_FRAME (w)); -- 2.39.2