summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-03-28 21:50:39 +0000
committerRichard M. Stallman <rms@gnu.org>1998-03-28 21:50:39 +0000
commitb50f6283db965303f3c7d2ac0950e0a725af8c05 (patch)
tree2e8fb1015bb410a4558a64ef64ba02d9b6f5cbbd /src/buffer.h
parentb8b29dc948b253de9c8de5836dbd864064f6a10a (diff)
downloademacs-b50f6283db965303f3c7d2ac0950e0a725af8c05.tar.gz
(struct buffer): Field `undo_list' moved before `name'
so it won't get marked in the usual way.
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h17
1 files 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;