From: Richard M. Stallman Date: Fri, 7 Jul 1995 13:32:21 +0000 (+0000) Subject: (Fwiden): Set clip_changed in current buffer. X-Git-Tag: emacs-19.34~3370 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=18744e178c9466134b80c18ac20aa70ee6b613b6;p=emacs.git (Fwiden): Set clip_changed in current buffer. (Fnarrow_to_region, save_restriction_restore): Likewise. --- 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,