summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
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;