From: Karl Heuer Date: Tue, 15 Nov 1994 02:04:23 +0000 (+0000) Subject: (OVERLAY_START, OVERLAY_END): Use new overlay substructure. X-Git-Tag: emacs-19.34~5930 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=21f7c864004da8750440588298e1975f457d50e7;p=emacs.git (OVERLAY_START, OVERLAY_END): Use new overlay substructure. --- diff --git a/src/buffer.h b/src/buffer.h index 2889d263820..2adcd95b0cc 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -418,10 +418,10 @@ extern Lisp_Object Vtransient_mark_mode; #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. */