diff src/buffer.c @ 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 ac05fe2b7114
children f379e219ed8e
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;