1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 02:10:46 -08:00

(resize_mini_window): Don't resize while redisplaying.

This commit is contained in:
Gerd Moellmann 2001-07-25 12:04:25 +00:00
parent e043664a1d
commit 64c5be50fb
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2001-07-25 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (resize_mini_window): Don't resize while redisplaying.
2001-07-24 Gerd Moellmann <gerd@gnu.org>
* xfns.c (valid_image_p): Protect better against invalid image

View file

@ -6500,6 +6500,12 @@ resize_mini_window (w, exact_p)
xassert (MINI_WINDOW_P (w));
/* Don't resize windows while redisplaying; it would confuse
redisplay functions when the size of the window they are
displaying changes from under them. */
if (redisplaying_p)
return 0;
/* Nil means don't try to resize. */
if (NILP (Vresize_mini_windows)
|| (FRAME_X_P (f) && f->output_data.x == NULL))