diff options
| author | Gerd Moellmann | 2001-05-16 12:18:18 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-05-16 12:18:18 +0000 |
| commit | a7be34e5f6c8051708ac14d229c87516b68ec616 (patch) | |
| tree | bb525c20be51d183a95bed91ff79d25cdca6cbfb /src/buffer.h | |
| parent | 04e4cb3a83ab051b47c8810dcb963dde78bb599a (diff) | |
| download | emacs-a7be34e5f6c8051708ac14d229c87516b68ec616.tar.gz emacs-a7be34e5f6c8051708ac14d229c87516b68ec616.zip | |
(OVERLAY_PLIST): New macro.
Diffstat (limited to 'src/buffer.h')
| -rw-r--r-- | src/buffer.h | 10 |
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 @@ | |||
| 1 | /* Header file for the buffer manipulation primitives. | 1 | /* Header file for the buffer manipulation primitives. |
| 2 | Copyright (C) 1985, 86, 93, 94, 95, 97, 1998, 1999, 2000 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 86, 93, 94, 95, 97, 1998, 1999, 2000, 2001 |
| 3 | Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
| @@ -824,14 +825,21 @@ extern Lisp_Object Vtransient_mark_mode; | |||
| 824 | /* Overlays */ | 825 | /* Overlays */ |
| 825 | 826 | ||
| 826 | /* 1 if the OV is an overlay object. */ | 827 | /* 1 if the OV is an overlay object. */ |
| 828 | |||
| 827 | #define OVERLAY_VALID(OV) (OVERLAYP (OV)) | 829 | #define OVERLAY_VALID(OV) (OVERLAYP (OV)) |
| 828 | 830 | ||
| 829 | /* Return the marker that stands for where OV starts in the buffer. */ | 831 | /* Return the marker that stands for where OV starts in the buffer. */ |
| 832 | |||
| 830 | #define OVERLAY_START(OV) (XOVERLAY (OV)->start) | 833 | #define OVERLAY_START(OV) (XOVERLAY (OV)->start) |
| 831 | 834 | ||
| 832 | /* Return the marker that stands for where OV ends in the buffer. */ | 835 | /* Return the marker that stands for where OV ends in the buffer. */ |
| 836 | |||
| 833 | #define OVERLAY_END(OV) (XOVERLAY (OV)->end) | 837 | #define OVERLAY_END(OV) (XOVERLAY (OV)->end) |
| 834 | 838 | ||
| 839 | /* Return the plist of overlay OV. */ | ||
| 840 | |||
| 841 | #define OVERLAY_PLIST(OV) XOVERLAY ((OV))->plist | ||
| 842 | |||
| 835 | /* Return the actual buffer position for the marker P. | 843 | /* Return the actual buffer position for the marker P. |
| 836 | We assume you know which buffer it's pointing into. */ | 844 | We assume you know which buffer it's pointing into. */ |
| 837 | 845 | ||