From b50f6283db965303f3c7d2ac0950e0a725af8c05 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 28 Mar 1998 21:50:39 +0000 Subject: [PATCH] (struct buffer): Field `undo_list' moved before `name' so it won't get marked in the usual way. --- src/buffer.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/buffer.h b/src/buffer.h index a26e6325aac..c56174707fb 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -474,6 +474,15 @@ struct buffer 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 @@ struct buffer /* 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; -- 2.39.2