changeset 12489:d0f5c21803e1

(Fwiden): Set clip_changed in current buffer. (Fnarrow_to_region, save_restriction_restore): Likewise.
author Richard M. Stallman <rms@gnu.org>
date Fri, 07 Jul 1995 13:32:21 +0000
parents 71aa23be0228
children c641ffcd1d1b
files src/editfns.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Fri Jul 07 13:31:48 1995 +0000
+++ b/src/editfns.c	Fri Jul 07 13:32:21 1995 +0000
@@ -1509,7 +1509,7 @@
 {
   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 @@
     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 @@
     }
   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,