Mercurial > emacs
changeset 25375:919b568e4108
(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.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 23 Aug 1999 00:11:51 +0000 |
parents | f4c741d61d57 |
children | cc780404b38d |
files | src/window.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/window.c Mon Aug 23 00:11:47 1999 +0000 +++ b/src/window.c Mon Aug 23 00:11:51 1999 +0000 @@ -372,7 +372,8 @@ 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 @@ 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 @@ adjust_glyphs (f); /* Prevent redisplay shortcuts. */ - XBUFFER (w->buffer)->clip_changed = 1; + XBUFFER (w->buffer)->prevent_redisplay_optimizations_p = 1; } return Qnil;