comparison src/buffer.h @ 86164:e509314f0d59

(struct buffer): Move `undo_list' back to before `name'. This undoes Richard's change of 14-Oct-2002.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 16 Nov 2007 21:58:46 +0000
parents 96eb42c9e0e3
children 59344cb482f3
comparison
equal deleted inserted replaced
86163:d28f1d2b83d5 86164:e509314f0d59
550 struct Lisp_Overlay *overlays_after; 550 struct Lisp_Overlay *overlays_after;
551 551
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. */
558 Lisp_Object name; 567 Lisp_Object name;
559 568
589 Lisp_Object major_mode; 598 Lisp_Object major_mode;
590 /* Pretty name of major mode (eg, "Lisp"). */ 599 /* Pretty name of major mode (eg, "Lisp"). */
591 Lisp_Object mode_name; 600 Lisp_Object mode_name;
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
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 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;
607 607