From b1599b4c0a7b698c02762b70de1bae35d20ea136 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 23 Aug 1999 00:11:51 +0000 Subject: [PATCH] (Fset_window_hscroll): Set prevent_redisplay_optimizations_p instead of clip_changed. (Fset_window_hscroll): Ditto. (temp_output_buffer_show): Ditto. (Fset_window_vscroll): Ditto. --- src/window.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/window.c b/src/window.c index b2f2bc08a69..5cb1f9f5ce6 100644 --- a/src/window.c +++ b/src/window.c @@ -372,7 +372,8 @@ NCOL should be zero or positive.") if (XINT (ncol) < 0) XSETFASTINT (ncol, 0); w = decode_window (window); if (XINT (w->hscroll) != XINT (ncol)) - XBUFFER (w->buffer)->clip_changed = 1; /* Prevent redisplay shortcuts */ + /* Prevent redisplay shortcuts */ + XBUFFER (w->buffer)->prevent_redisplay_optimizations_p = 1; w->hscroll = ncol; return ncol; } @@ -2801,7 +2802,7 @@ temp_output_buffer_show (buf) BEGV = BEG; ZV = Z; SET_PT (BEG); - XBUFFER (buf)->clip_changed = 1; + XBUFFER (buf)->prevent_redisplay_optimizations_p = 1; set_buffer_internal (old); if (!EQ (Vtemp_buffer_show_function, Qnil)) @@ -4679,7 +4680,7 @@ multiple of the canonical character height of WINDOW.") adjust_glyphs (f); /* Prevent redisplay shortcuts. */ - XBUFFER (w->buffer)->clip_changed = 1; + XBUFFER (w->buffer)->prevent_redisplay_optimizations_p = 1; } return Qnil; -- 2.39.5