From: Eli Zaretskii Date: Sat, 18 Nov 2017 11:41:03 +0000 (+0200) Subject: Avoid assertion violations in echo_area_display X-Git-Tag: emacs-26.0.91~295 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=319c2de9dab577ea97f6c63cb8fd5b7ac3da82b0;p=emacs.git 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) --- 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));