summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-05-16 12:18:18 +0000
committerGerd Moellmann <gerd@gnu.org>2001-05-16 12:18:18 +0000
commita7be34e5f6c8051708ac14d229c87516b68ec616 (patch)
treebb525c20be51d183a95bed91ff79d25cdca6cbfb /src/buffer.h
parent04e4cb3a83ab051b47c8810dcb963dde78bb599a (diff)
downloademacs-a7be34e5f6c8051708ac14d229c87516b68ec616.tar.gz
(OVERLAY_PLIST): New macro.
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h10
1 files changed, 9 insertions, 1 deletions
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. */