Mercurial > emacs
comparison src/buffer.h @ 9925:b039e4156d74
(OVERLAY_START, OVERLAY_END): Use new overlay substructure.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 15 Nov 1994 02:04:23 +0000 |
parents | 93977a321baa |
children | 586bb1122715 |
comparison
equal
deleted
inserted
replaced
9924:594e838f4567 | 9925:b039e4156d74 |
---|---|
416 | 416 |
417 /* 1 if the OV is an overlay object. */ | 417 /* 1 if the OV is an overlay object. */ |
418 #define OVERLAY_VALID(OV) (OVERLAYP (OV)) | 418 #define OVERLAY_VALID(OV) (OVERLAYP (OV)) |
419 | 419 |
420 /* Return the marker that stands for where OV starts in the buffer. */ | 420 /* Return the marker that stands for where OV starts in the buffer. */ |
421 #define OVERLAY_START(OV) (XCONS (XCONS ((OV))->car)->car) | 421 #define OVERLAY_START(OV) (XOVERLAY (OV)->start) |
422 | 422 |
423 /* Return the marker that stands for where OV ends in the buffer. */ | 423 /* Return the marker that stands for where OV ends in the buffer. */ |
424 #define OVERLAY_END(OV) (XCONS (XCONS ((OV))->car)->cdr) | 424 #define OVERLAY_END(OV) (XOVERLAY (OV)->end) |
425 | 425 |
426 /* Return the actual buffer position for the marker P. | 426 /* Return the actual buffer position for the marker P. |
427 We assume you know which buffer it's pointing into. */ | 427 We assume you know which buffer it's pointing into. */ |
428 | 428 |
429 #define OVERLAY_POSITION(P) \ | 429 #define OVERLAY_POSITION(P) \ |