diff 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
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;