Mercurial > emacs
diff src/buffer.h @ 9925:b039e4156d74
(OVERLAY_START, OVERLAY_END): Use new overlay substructure.
| author | Karl Heuer <kwzh@gnu.org> |
|---|---|
| date | Tue, 15 Nov 1994 02:04:23 +0000 |
| parents | 93977a321baa |
| children | 586bb1122715 |
line wrap: on
line diff
--- a/src/buffer.h Tue Nov 15 02:04:03 1994 +0000 +++ b/src/buffer.h Tue Nov 15 02:04:23 1994 +0000 @@ -418,10 +418,10 @@ #define OVERLAY_VALID(OV) (OVERLAYP (OV)) /* Return the marker that stands for where OV starts in the buffer. */ -#define OVERLAY_START(OV) (XCONS (XCONS ((OV))->car)->car) +#define OVERLAY_START(OV) (XOVERLAY (OV)->start) /* Return the marker that stands for where OV ends in the buffer. */ -#define OVERLAY_END(OV) (XCONS (XCONS ((OV))->car)->cdr) +#define OVERLAY_END(OV) (XOVERLAY (OV)->end) /* Return the actual buffer position for the marker P. We assume you know which buffer it's pointing into. */
