aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorStefan Monnier2003-07-09 14:47:45 +0000
committerStefan Monnier2003-07-09 14:47:45 +0000
commit87359a3d315c85e1f3b9f8e9afda8a9d40fe5c7b (patch)
tree8520aa1e1b4092ea16e9a4207aa7ff0bede2e48f /src/buffer.h
parentb01ecbc603655818b4cbdaf4c07d20a2d1d90f01 (diff)
downloademacs-87359a3d315c85e1f3b9f8e9afda8a9d40fe5c7b.tar.gz
emacs-87359a3d315c85e1f3b9f8e9afda8a9d40fe5c7b.zip
(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).
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 6f25891ca6f..756bc1867e8 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -531,6 +531,14 @@ struct buffer
531 displaying this buffer. */ 531 displaying this buffer. */
532 unsigned prevent_redisplay_optimizations_p : 1; 532 unsigned prevent_redisplay_optimizations_p : 1;
533 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;
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
@@ -647,14 +655,6 @@ struct buffer
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;