From a7be34e5f6c8051708ac14d229c87516b68ec616 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 16 May 2001 12:18:18 +0000 Subject: [PATCH] (OVERLAY_PLIST): New macro. --- src/buffer.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/buffer.h b/src/buffer.h index 61f1270965d..6089231811d 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -1,5 +1,6 @@ /* Header file for the buffer manipulation primitives. - Copyright (C) 1985, 86, 93, 94, 95, 97, 1998, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1985, 86, 93, 94, 95, 97, 1998, 1999, 2000, 2001 + Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -824,14 +825,21 @@ extern Lisp_Object Vtransient_mark_mode; /* Overlays */ /* 1 if the OV is an overlay object. */ + #define OVERLAY_VALID(OV) (OVERLAYP (OV)) /* Return the marker that stands for where OV starts in the buffer. */ + #define OVERLAY_START(OV) (XOVERLAY (OV)->start) /* Return the marker that stands for where OV ends in the buffer. */ + #define OVERLAY_END(OV) (XOVERLAY (OV)->end) +/* Return the plist of overlay OV. */ + +#define OVERLAY_PLIST(OV) XOVERLAY ((OV))->plist + /* Return the actual buffer position for the marker P. We assume you know which buffer it's pointing into. */ -- 2.39.2