diff options
| author | Richard M. Stallman | 1995-07-07 13:34:49 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-07-07 13:34:49 +0000 |
| commit | 1479ef51abeaf358abd519225785957145ba56be (patch) | |
| tree | a5f6500d5c592b0ecbe4e32b441aaee7fef67ca3 /src | |
| parent | 13373f4ece72d1aca9573e236fd7391fd677e728 (diff) | |
| download | emacs-1479ef51abeaf358abd519225785957145ba56be.tar.gz emacs-1479ef51abeaf358abd519225785957145ba56be.zip | |
(Fset_window_hscroll): Set clip_changed in the buffer.
(temp_output_buffer_show): Likewise.
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 4 |
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.") | |||
| 311 | args_out_of_range (ncol, Qnil); | 311 | args_out_of_range (ncol, Qnil); |
| 312 | w = decode_window (window); | 312 | w = decode_window (window); |
| 313 | if (XINT (w->hscroll) != XINT (ncol)) | 313 | if (XINT (w->hscroll) != XINT (ncol)) |
| 314 | clip_changed = 1; /* Prevent redisplay shortcuts */ | 314 | XBUFFER (w->buffer)->clip_changed = 1; /* Prevent redisplay shortcuts */ |
| 315 | w->hscroll = ncol; | 315 | w->hscroll = ncol; |
| 316 | return ncol; | 316 | return ncol; |
| 317 | } | 317 | } |
| @@ -2111,7 +2111,7 @@ temp_output_buffer_show (buf) | |||
| 2111 | BEGV = BEG; | 2111 | BEGV = BEG; |
| 2112 | ZV = Z; | 2112 | ZV = Z; |
| 2113 | SET_PT (BEG); | 2113 | SET_PT (BEG); |
| 2114 | clip_changed = 1; | 2114 | XBUFFER (buf)->clip_changed = 1; |
| 2115 | set_buffer_internal (old); | 2115 | set_buffer_internal (old); |
| 2116 | 2116 | ||
| 2117 | if (!EQ (Vtemp_buffer_show_function, Qnil)) | 2117 | if (!EQ (Vtemp_buffer_show_function, Qnil)) |