diff options
| author | Richard M. Stallman | 1998-03-28 21:50:39 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-03-28 21:50:39 +0000 |
| commit | b50f6283db965303f3c7d2ac0950e0a725af8c05 (patch) | |
| tree | 2e8fb1015bb410a4558a64ef64ba02d9b6f5cbbd /src | |
| parent | b8b29dc948b253de9c8de5836dbd864064f6a10a (diff) | |
| download | emacs-b50f6283db965303f3c7d2ac0950e0a725af8c05.tar.gz emacs-b50f6283db965303f3c7d2ac0950e0a725af8c05.zip | |
(struct buffer): Field `undo_list' moved before `name'
so it won't get marked in the usual way.
Diffstat (limited to 'src')
| -rw-r--r-- | src/buffer.h | 17 |
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 | |||
| 474 | struct region_cache *newline_cache; | 474 | struct region_cache *newline_cache; |
| 475 | struct region_cache *width_run_cache; | 475 | struct region_cache *width_run_cache; |
| 476 | 476 | ||
| 477 | /* Changes in the buffer are recorded here for undo. | ||
| 478 | t means don't record anything. | ||
| 479 | This information belongs to the base buffer of an indirect buffer, | ||
| 480 | But we can't store it in the struct buffer_text | ||
| 481 | because local variables have to be right in the struct buffer. | ||
| 482 | So we copy it around in set_buffer_internal. | ||
| 483 | This comes before `name' because it is marked in a special way. */ | ||
| 484 | Lisp_Object undo_list; | ||
| 485 | |||
| 477 | /* Everything from here down must be a Lisp_Object */ | 486 | /* Everything from here down must be a Lisp_Object */ |
| 478 | 487 | ||
| 479 | 488 | ||
| @@ -574,14 +583,6 @@ struct buffer | |||
| 574 | /* t means the mark and region are currently active. */ | 583 | /* t means the mark and region are currently active. */ |
| 575 | Lisp_Object mark_active; | 584 | Lisp_Object mark_active; |
| 576 | 585 | ||
| 577 | /* Changes in the buffer are recorded here for undo. | ||
| 578 | t means don't record anything. | ||
| 579 | This information belongs to the base buffer of an indirect buffer, | ||
| 580 | But we can't store it in the struct buffer_text | ||
| 581 | because local variables have to be right in the struct buffer. | ||
| 582 | So we copy it around in set_buffer_internal. */ | ||
| 583 | Lisp_Object undo_list; | ||
| 584 | |||
| 585 | /* List of overlays that end at or before the current center, | 586 | /* List of overlays that end at or before the current center, |
| 586 | in order of end-position. */ | 587 | in order of end-position. */ |
| 587 | Lisp_Object overlays_before; | 588 | Lisp_Object overlays_before; |