Commit 87359a3d authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(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).
parent b01ecbc6
......@@ -531,6 +531,14 @@ struct buffer
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 @@ struct buffer
/* 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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment