diff options
| author | Gerd Moellmann | 1999-08-23 00:11:51 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-08-23 00:11:51 +0000 |
| commit | b1599b4c0a7b698c02762b70de1bae35d20ea136 (patch) | |
| tree | 1687d06cc68239f02712800f8bee64e678eb828b /src | |
| parent | 9351ebd055fed8ed472f6e559270384b0a916543 (diff) | |
| download | emacs-b1599b4c0a7b698c02762b70de1bae35d20ea136.tar.gz emacs-b1599b4c0a7b698c02762b70de1bae35d20ea136.zip | |
(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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c index b2f2bc08a69..5cb1f9f5ce6 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -372,7 +372,8 @@ NCOL should be zero or positive.") | |||
| 372 | if (XINT (ncol) < 0) XSETFASTINT (ncol, 0); | 372 | if (XINT (ncol) < 0) XSETFASTINT (ncol, 0); |
| 373 | w = decode_window (window); | 373 | w = decode_window (window); |
| 374 | if (XINT (w->hscroll) != XINT (ncol)) | 374 | if (XINT (w->hscroll) != XINT (ncol)) |
| 375 | XBUFFER (w->buffer)->clip_changed = 1; /* Prevent redisplay shortcuts */ | 375 | /* Prevent redisplay shortcuts */ |
| 376 | XBUFFER (w->buffer)->prevent_redisplay_optimizations_p = 1; | ||
| 376 | w->hscroll = ncol; | 377 | w->hscroll = ncol; |
| 377 | return ncol; | 378 | return ncol; |
| 378 | } | 379 | } |
| @@ -2801,7 +2802,7 @@ temp_output_buffer_show (buf) | |||
| 2801 | BEGV = BEG; | 2802 | BEGV = BEG; |
| 2802 | ZV = Z; | 2803 | ZV = Z; |
| 2803 | SET_PT (BEG); | 2804 | SET_PT (BEG); |
| 2804 | XBUFFER (buf)->clip_changed = 1; | 2805 | XBUFFER (buf)->prevent_redisplay_optimizations_p = 1; |
| 2805 | set_buffer_internal (old); | 2806 | set_buffer_internal (old); |
| 2806 | 2807 | ||
| 2807 | if (!EQ (Vtemp_buffer_show_function, Qnil)) | 2808 | if (!EQ (Vtemp_buffer_show_function, Qnil)) |
| @@ -4679,7 +4680,7 @@ multiple of the canonical character height of WINDOW.") | |||
| 4679 | adjust_glyphs (f); | 4680 | adjust_glyphs (f); |
| 4680 | 4681 | ||
| 4681 | /* Prevent redisplay shortcuts. */ | 4682 | /* Prevent redisplay shortcuts. */ |
| 4682 | XBUFFER (w->buffer)->clip_changed = 1; | 4683 | XBUFFER (w->buffer)->prevent_redisplay_optimizations_p = 1; |
| 4683 | } | 4684 | } |
| 4684 | 4685 | ||
| 4685 | return Qnil; | 4686 | return Qnil; |