Commit d18354b6 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(try_window_reusing_current_matrix): Don't try to reuse

 the display if windows_or_buffers_changed.
parent 6df5d75f
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment