summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-11-15 02:04:23 +0000
committerKarl Heuer <kwzh@gnu.org>1994-11-15 02:04:23 +0000
commit178774e579734d4160fdeef3785e4aea6d3dd7e1 (patch)
treedcb53adba8fbb165377a556f71ea2ca4d3cfb22c /src/buffer.h
parent993daf3765c587aabc6aa84cfe40ce5a4361f0fa (diff)
downloademacs-178774e579734d4160fdeef3785e4aea6d3dd7e1.tar.gz
(OVERLAY_START, OVERLAY_END): Use new overlay substructure.
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h4
1 files changed, 2 insertions, 2 deletions
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. */