(resize_mini_window): Do nothing if frame is an X

frame that hasn't been initialized yet.
This commit is contained in:
Gerd Moellmann 1999-09-29 19:59:16 +00:00
parent 674f8b7c18
commit 00f6d59e8c

View file

@ -5490,7 +5490,8 @@ resize_mini_window (w, exact_p)
xassert (MINI_WINDOW_P (w));
/* Nil means don't try to resize. */
if (NILP (Vmax_mini_window_height))
if (NILP (Vmax_mini_window_height)
|| (FRAME_X_P (f) && f->output_data.x == NULL))
return 0;
if (!FRAME_MINIBUF_ONLY_P (f))