# HG changeset patch # User Gerd Moellmann # Date 990015498 0 # Node ID 3384f5e9fc902bf57499142725cf3a2a9ad37787 # Parent 1085e1cfebafcef2f3b2e3e2bb8dae295caa6ba9 (OVERLAY_PLIST): New macro. diff -r 1085e1cfebaf -r 3384f5e9fc90 src/buffer.h --- a/src/buffer.h Wed May 16 12:17:43 2001 +0000 +++ b/src/buffer.h Wed May 16 12:18:18 2001 +0000 @@ -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 @@ /* 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. */