Commit 319c2de9 authored by Eli Zaretskii's avatar Eli Zaretskii

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)
parent 63c77339
...@@ -11510,6 +11510,9 @@ echo_area_display (bool update_frame_p) ...@@ -11510,6 +11510,9 @@ echo_area_display (bool update_frame_p)
struct frame *sf = SELECTED_FRAME (); struct frame *sf = SELECTED_FRAME ();
mini_window = FRAME_MINIBUF_WINDOW (sf); mini_window = FRAME_MINIBUF_WINDOW (sf);
if (NILP (mini_window))
return;
w = XWINDOW (mini_window); w = XWINDOW (mini_window);
f = XFRAME (WINDOW_FRAME (w)); f = XFRAME (WINDOW_FRAME (w));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment