From: Gerd Moellmann Date: Wed, 28 Jun 2000 20:29:56 +0000 (+0000) Subject: (try_window_reusing_current_matrix): Don't try to reuse X-Git-Tag: emacs-pretest-21.0.90~3033 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d18354b656197ee26307d556aa53232328ac60a4;p=emacs.git (try_window_reusing_current_matrix): Don't try to reuse the display if windows_or_buffers_changed. --- 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. */