# HG changeset patch # User Stefan Monnier # Date 1195250326 0 # Node ID e509314f0d597cdd33ceca538a5de05bc6c57492 # Parent d28f1d2b83d5a338ce38c8120d5f58536be46698 (struct buffer): Move `undo_list' back to before `name'. This undoes Richard's change of 14-Oct-2002. diff -r d28f1d2b83d5 -r e509314f0d59 src/ChangeLog --- a/src/ChangeLog Fri Nov 16 21:24:59 2007 +0000 +++ b/src/ChangeLog Fri Nov 16 21:58:46 2007 +0000 @@ -1,5 +1,8 @@ 2007-11-16 Stefan Monnier + * buffer.h (struct buffer): Move `undo_list' back to before `name'. + This undoes Richard's change of 14-Oct-2002. + * alloc.c (allocate_other_vector): * lisp.h (allocate_other_vector): Remove. diff -r d28f1d2b83d5 -r e509314f0d59 src/buffer.h --- a/src/buffer.h Fri Nov 16 21:24:59 2007 +0000 +++ b/src/buffer.h Fri Nov 16 21:58:46 2007 +0000 @@ -552,6 +552,15 @@ /* Position where the overlay lists are centered. */ EMACS_INT overlay_center; + /* 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. */ /* The name of this buffer. */ @@ -592,15 +601,6 @@ /* Mode line element that controls format of mode line. */ Lisp_Object mode_line_format; - /* 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; - /* Analogous to mode_line_format for the line displayed at the top of windows. Nil means don't display that line. */ Lisp_Object header_line_format;