changeset 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 a52679a2aae5
children fbd7d4289b8e
files src/buffer.h
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.h	Wed Jul 09 14:46:06 2003 +0000
+++ b/src/buffer.h	Wed Jul 09 14:47:45 2003 +0000
@@ -531,6 +531,14 @@
      displaying this buffer.  */
   unsigned prevent_redisplay_optimizations_p : 1;
 
+  /* List of overlays that end at or before the current center,
+     in order of end-position.  */
+  struct Lisp_Overlay *overlays_before;
+
+  /* List of overlays that end after  the current center,
+     in order of start-position.  */
+  struct Lisp_Overlay *overlays_after;
+
   /* Position where the overlay lists are centered.  */
   EMACS_INT overlay_center;
 
@@ -647,14 +655,6 @@
   /* t means the mark and region are currently active.  */
   Lisp_Object mark_active;
 
-  /* List of overlays that end at or before the current center,
-     in order of end-position.  */
-  Lisp_Object overlays_before;
-
-  /* List of overlays that end after  the current center,
-     in order of start-position.  */
-  Lisp_Object overlays_after;
-
   /* Non-nil means the buffer contents are regarded as multi-byte
      form of characters, not a binary code.  */
   Lisp_Object enable_multibyte_characters;