comparison src/buffer.h @ 51834:a8777e8d1b68

(struct buffer): Change overlays_before and overlays_after from Lisp lists of overlays to pointers to overlays (internally linked into lists via the new `next' field).
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 09 Jul 2003 14:47:45 +0000
parents 71950df19cb6
children f8d1f1c48e3e
comparison
equal deleted inserted replaced
51833:a52679a2aae5 51834:a8777e8d1b68
528 struct region_cache *width_run_cache; 528 struct region_cache *width_run_cache;
529 529
530 /* Non-zero means don't use redisplay optimizations for 530 /* Non-zero means don't use redisplay optimizations for
531 displaying this buffer. */ 531 displaying this buffer. */
532 unsigned prevent_redisplay_optimizations_p : 1; 532 unsigned prevent_redisplay_optimizations_p : 1;
533
534 /* List of overlays that end at or before the current center,
535 in order of end-position. */
536 struct Lisp_Overlay *overlays_before;
537
538 /* List of overlays that end after the current center,
539 in order of start-position. */
540 struct Lisp_Overlay *overlays_after;
533 541
534 /* Position where the overlay lists are centered. */ 542 /* Position where the overlay lists are centered. */
535 EMACS_INT overlay_center; 543 EMACS_INT overlay_center;
536 544
537 /* Everything from here down must be a Lisp_Object. */ 545 /* Everything from here down must be a Lisp_Object. */
645 /* Display table to use for text in this buffer. */ 653 /* Display table to use for text in this buffer. */
646 Lisp_Object display_table; 654 Lisp_Object display_table;
647 /* t means the mark and region are currently active. */ 655 /* t means the mark and region are currently active. */
648 Lisp_Object mark_active; 656 Lisp_Object mark_active;
649 657
650 /* List of overlays that end at or before the current center,
651 in order of end-position. */
652 Lisp_Object overlays_before;
653
654 /* List of overlays that end after the current center,
655 in order of start-position. */
656 Lisp_Object overlays_after;
657
658 /* Non-nil means the buffer contents are regarded as multi-byte 658 /* Non-nil means the buffer contents are regarded as multi-byte
659 form of characters, not a binary code. */ 659 form of characters, not a binary code. */
660 Lisp_Object enable_multibyte_characters; 660 Lisp_Object enable_multibyte_characters;
661 661
662 /* Coding system to be used for encoding the buffer contents on 662 /* Coding system to be used for encoding the buffer contents on