Mercurial > emacs
changeset 21305:c26bceb68019
(struct buffer): Field `undo_list' moved before `name'
so it won't get marked in the usual way.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 28 Mar 1998 21:50:39 +0000 |
parents | 1c2b68b607c8 |
children | dc2cbd40703c |
files | src/buffer.h |
diffstat | 1 files changed, 9 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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;