comparison src/buffer.h @ 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 4d4daf482e68
children a48831a21513
comparison
equal deleted inserted replaced
21304:1c2b68b607c8 21305:c26bceb68019
471 know what its width is. This allows compute_motion to process 471 know what its width is. This allows compute_motion to process
472 such regions very quickly, using algebra instead of inspecting 472 such regions very quickly, using algebra instead of inspecting
473 each character. See also width_table, below. */ 473 each character. See also width_table, below. */
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
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;
476 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
480 /* The name of this buffer. */ 489 /* The name of this buffer. */
572 /* Display table to use for text in this buffer. */ 581 /* Display table to use for text in this buffer. */
573 Lisp_Object display_table; 582 Lisp_Object display_table;
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;
588 589
589 /* List of overlays that end after the current center, 590 /* List of overlays that end after the current center,