From 1479ef51abeaf358abd519225785957145ba56be Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 7 Jul 1995 13:34:49 +0000 Subject: [PATCH] (Fset_window_hscroll): Set clip_changed in the buffer. (temp_output_buffer_show): Likewise. --- src/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window.c b/src/window.c index 56fa5882528..f9dd50e7f31 100644 --- a/src/window.c +++ b/src/window.c @@ -311,7 +311,7 @@ NCOL should be zero or positive.") args_out_of_range (ncol, Qnil); w = decode_window (window); if (XINT (w->hscroll) != XINT (ncol)) - clip_changed = 1; /* Prevent redisplay shortcuts */ + XBUFFER (w->buffer)->clip_changed = 1; /* Prevent redisplay shortcuts */ w->hscroll = ncol; return ncol; } @@ -2111,7 +2111,7 @@ temp_output_buffer_show (buf) BEGV = BEG; ZV = Z; SET_PT (BEG); - clip_changed = 1; + XBUFFER (buf)->clip_changed = 1; set_buffer_internal (old); if (!EQ (Vtemp_buffer_show_function, Qnil)) -- 2.39.2