# HG changeset patch # User Richard M. Stallman # Date 891121839 0 # Node ID c26bceb680192cd87967d42bac068ecf265b9999 # Parent 1c2b68b607c804d78db3c316006cf48d5ace9fc2 (struct buffer): Field `undo_list' moved before `name' so it won't get marked in the usual way. diff -r 1c2b68b607c8 -r c26bceb68019 src/buffer.h --- a/src/buffer.h Sat Mar 28 08:25:53 1998 +0000 +++ b/src/buffer.h Sat Mar 28 21:50:39 1998 +0000 @@ -474,6 +474,15 @@ struct region_cache *newline_cache; struct region_cache *width_run_cache; + /* Changes in the buffer are recorded here for undo. + t means don't record anything. + This information belongs to the base buffer of an indirect buffer, + But we can't store it in the struct buffer_text + because local variables have to be right in the struct buffer. + So we copy it around in set_buffer_internal. + This comes before `name' because it is marked in a special way. */ + Lisp_Object undo_list; + /* Everything from here down must be a Lisp_Object */ @@ -574,14 +583,6 @@ /* t means the mark and region are currently active. */ Lisp_Object mark_active; - /* Changes in the buffer are recorded here for undo. - t means don't record anything. - This information belongs to the base buffer of an indirect buffer, - But we can't store it in the struct buffer_text - because local variables have to be right in the struct buffer. - So we copy it around in set_buffer_internal. */ - Lisp_Object undo_list; - /* List of overlays that end at or before the current center, in order of end-position. */ Lisp_Object overlays_before;