diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-07-25 12:04:25 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-07-25 12:04:25 +0000 |
commit | 64c5be50fbdfe84d9da49f9cef73cea606d99ab8 (patch) | |
tree | c333f630bc0e29e812babf07fc7072601d1b9007 | |
parent | e043664a1d57724b3ce11f1ccc61574ec990b73a (diff) | |
download | emacs-64c5be50fbdfe84d9da49f9cef73cea606d99ab8.tar.gz emacs-64c5be50fbdfe84d9da49f9cef73cea606d99ab8.tar.bz2 emacs-64c5be50fbdfe84d9da49f9cef73cea606d99ab8.zip |
(resize_mini_window): Don't resize while redisplaying.
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/xdisp.c | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 5cd8a760737..76101cce23f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 diff --git a/src/xdisp.c b/src/xdisp.c index ba9e08dba49..6a56fe18740 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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)) |