changeset 17566:7ed40081342f

(reset_buffer): Initialize clip_changed field.
author Richard M. Stallman <rms@gnu.org>
date Sat, 26 Apr 1997 04:46:29 +0000
parents 09d1f6578d7f
children 71dfc9f61821
files src/buffer.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Sat Apr 26 01:33:18 1997 +0000
+++ b/src/buffer.c	Sat Apr 26 04:46:29 1997 +0000
@@ -465,6 +465,8 @@
   b->modtime = 0;
   XSETFASTINT (b->save_length, 0);
   b->last_window_start = 1;
+  /* It is more conservative to start out "changed" than "unchanged".  */
+  b->clip_changed = 1;
   b->backed_up = Qnil;
   b->auto_save_modified = 0;
   b->auto_save_failure_time = -1;