diff options
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/buffer.h | 18 |
2 files changed, 12 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e1f5be9c0cf..9c8893fdcdc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2007-11-16 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2007-11-16 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * buffer.h (struct buffer): Move `undo_list' back to before `name'. | ||
| 4 | This undoes Richard's change of 14-Oct-2002. | ||
| 5 | |||
| 3 | * alloc.c (allocate_other_vector): | 6 | * alloc.c (allocate_other_vector): |
| 4 | * lisp.h (allocate_other_vector): Remove. | 7 | * lisp.h (allocate_other_vector): Remove. |
| 5 | 8 | ||
diff --git a/src/buffer.h b/src/buffer.h index 3d34e7c3217..37f499f0351 100644 --- a/src/buffer.h +++ b/src/buffer.h | |||
| @@ -552,6 +552,15 @@ struct buffer | |||
| 552 | /* Position where the overlay lists are centered. */ | 552 | /* Position where the overlay lists are centered. */ |
| 553 | EMACS_INT overlay_center; | 553 | EMACS_INT overlay_center; |
| 554 | 554 | ||
| 555 | /* Changes in the buffer are recorded here for undo. | ||
| 556 | t means don't record anything. | ||
| 557 | This information belongs to the base buffer of an indirect buffer, | ||
| 558 | But we can't store it in the struct buffer_text | ||
| 559 | because local variables have to be right in the struct buffer. | ||
| 560 | So we copy it around in set_buffer_internal. | ||
| 561 | This comes before `name' because it is marked in a special way. */ | ||
| 562 | Lisp_Object undo_list; | ||
| 563 | |||
| 555 | /* Everything from here down must be a Lisp_Object. */ | 564 | /* Everything from here down must be a Lisp_Object. */ |
| 556 | 565 | ||
| 557 | /* The name of this buffer. */ | 566 | /* The name of this buffer. */ |
| @@ -592,15 +601,6 @@ struct buffer | |||
| 592 | /* Mode line element that controls format of mode line. */ | 601 | /* Mode line element that controls format of mode line. */ |
| 593 | Lisp_Object mode_line_format; | 602 | Lisp_Object mode_line_format; |
| 594 | 603 | ||
| 595 | /* Changes in the buffer are recorded here for undo. | ||
| 596 | t means don't record anything. | ||
| 597 | This information belongs to the base buffer of an indirect buffer, | ||
| 598 | But we can't store it in the struct buffer_text | ||
| 599 | because local variables have to be right in the struct buffer. | ||
| 600 | So we copy it around in set_buffer_internal. | ||
| 601 | This comes before `name' because it is marked in a special way. */ | ||
| 602 | Lisp_Object undo_list; | ||
| 603 | |||
| 604 | /* Analogous to mode_line_format for the line displayed at the top | 604 | /* Analogous to mode_line_format for the line displayed at the top |
| 605 | of windows. Nil means don't display that line. */ | 605 | of windows. Nil means don't display that line. */ |
| 606 | Lisp_Object header_line_format; | 606 | Lisp_Object header_line_format; |