From: Richard M. Stallman Date: Fri, 7 Jul 1995 13:34:49 +0000 (+0000) Subject: (Fset_window_hscroll): Set clip_changed in the buffer. X-Git-Tag: emacs-19.34~3367 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1479ef51abeaf358abd519225785957145ba56be;p=emacs.git (Fset_window_hscroll): Set clip_changed in the buffer. (temp_output_buffer_show): Likewise. --- 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))