diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-07-07 13:32:21 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-07-07 13:32:21 +0000 |
commit | 18744e178c9466134b80c18ac20aa70ee6b613b6 (patch) | |
tree | b04734d5146cd11de21bb9f9ff21609c36b2fab8 /src/editfns.c | |
parent | 2a3eeee73eaaf864e0fa31dd9f90f8f319c37faf (diff) | |
download | emacs-18744e178c9466134b80c18ac20aa70ee6b613b6.tar.gz |
(Fwiden): Set clip_changed in current buffer.
(Fnarrow_to_region, save_restriction_restore): Likewise.
Diffstat (limited to 'src/editfns.c')
-rw-r--r-- | src/editfns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/editfns.c b/src/editfns.c index 13a851fb007..0519bc806a1 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -1509,7 +1509,7 @@ This allows the buffer's full text to be seen and edited.") { BEGV = BEG; SET_BUF_ZV (current_buffer, Z); - clip_changed = 1; + current_buffer->clip_changed = 1; /* Changing the buffer bounds invalidates any recorded current column. */ invalidate_current_column (); return Qnil; @@ -1545,7 +1545,7 @@ or markers) bounding the text that should remain visible.") SET_PT (XFASTINT (b)); if (point > XFASTINT (e)) SET_PT (XFASTINT (e)); - clip_changed = 1; + current_buffer->clip_changed = 1; /* Changing the buffer bounds invalidates any recorded current column. */ invalidate_current_column (); return Qnil; @@ -1587,7 +1587,7 @@ save_restriction_restore (data) } BUF_BEGV (buf) = BUF_BEG (buf) + newhead; SET_BUF_ZV (buf, BUF_Z (buf) - newtail); - clip_changed = 1; + current_buffer->clip_changed = 1; /* If point is outside the new visible range, move it inside. */ SET_BUF_PT (buf, |