changeset 12492:27497b336977

(Fset_window_hscroll): Set clip_changed in the buffer. (temp_output_buffer_show): Likewise.
author Richard M. Stallman <rms@gnu.org>
date Fri, 07 Jul 1995 13:34:49 +0000
parents 4ad7be34ece1
children f8ada5acbaec
files src/window.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Fri Jul 07 13:34:16 1995 +0000
+++ b/src/window.c	Fri Jul 07 13:34:49 1995 +0000
@@ -311,7 +311,7 @@
     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 @@
   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))