summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-07-07 13:34:49 +0000
committerRichard M. Stallman <rms@gnu.org>1995-07-07 13:34:49 +0000
commit64f20c10c5c16bc0e8eaed8e24c32a7d8d8e459a (patch)
treecdb05429e4e3164f5fb173db1f68d63ccb480818 /src/window.c
parent3580a123b06ef543bfb28ba0e739fd89fbd43e22 (diff)
downloademacs-64f20c10c5c16bc0e8eaed8e24c32a7d8d8e459a.tar.gz
(Fset_window_hscroll): Set clip_changed in the buffer.
(temp_output_buffer_show): Likewise.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files 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))