From d18354b656197ee26307d556aa53232328ac60a4 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 28 Jun 2000 20:29:56 +0000 Subject: [PATCH] (try_window_reusing_current_matrix): Don't try to reuse the display if windows_or_buffers_changed. --- src/xdisp.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 68942eed1fa..b9941f956ff 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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. */ -- 2.39.2