aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann1999-09-29 19:59:16 +0000
committerGerd Moellmann1999-09-29 19:59:16 +0000
commit00f6d59e8c78233447530355ebf6cdfd1013a62b (patch)
tree1514c4144570e071c3f7c6683b34aba62387e0e1
parent674f8b7c1824d1c7387f187f6eee25e596dbfecf (diff)
downloademacs-00f6d59e8c78233447530355ebf6cdfd1013a62b.tar.gz
emacs-00f6d59e8c78233447530355ebf6cdfd1013a62b.zip
(resize_mini_window): Do nothing if frame is an X
frame that hasn't been initialized yet.
-rw-r--r--src/xdisp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index e5ffabb3c43..e71ffaac152 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -5490,7 +5490,8 @@ resize_mini_window (w, exact_p)
5490 xassert (MINI_WINDOW_P (w)); 5490 xassert (MINI_WINDOW_P (w));
5491 5491
5492 /* Nil means don't try to resize. */ 5492 /* Nil means don't try to resize. */
5493 if (NILP (Vmax_mini_window_height)) 5493 if (NILP (Vmax_mini_window_height)
5494 || (FRAME_X_P (f) && f->output_data.x == NULL))
5494 return 0; 5495 return 0;
5495 5496
5496 if (!FRAME_MINIBUF_ONLY_P (f)) 5497 if (!FRAME_MINIBUF_ONLY_P (f))