1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00

(try_window_reusing_current_matrix): Don't try to reuse

the display if windows_or_buffers_changed.
This commit is contained in:
Gerd Moellmann 2000-06-28 20:29:56 +00:00
parent 6df5d75f4a
commit d18354b656

View File

@ -9507,8 +9507,12 @@ try_window_reusing_current_matrix (w)
struct glyph_row *start_row;
int start_vpos, min_y, max_y;
/* Right now this function doesn't handle terminal frames. */
if (!FRAME_WINDOW_P (f))
if (/* This function doesn't handle terminal frames. */
!FRAME_WINDOW_P (f)
/* Don't try to reuse the display if windows have been split
or such. */
|| windows_or_buffers_changed)
return 0;
/* Can't do this if region may have changed. */