diff options
| author | Dmitry Antipov | 2012-07-17 08:29:50 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-07-17 08:29:50 +0400 |
| commit | 22657b40985ec990ea20df878bde97af76b19ed1 (patch) | |
| tree | f8c3c15fe86a512d499446fe1f106c8fd5f594dd /src/buffer.h | |
| parent | ddfc8813451b43f1cdb06fd07a47123b9f92bd70 (diff) | |
| download | emacs-22657b40985ec990ea20df878bde97af76b19ed1.tar.gz emacs-22657b40985ec990ea20df878bde97af76b19ed1.zip | |
Cleanup overlays checking.
* buffer.h (OVERLAY_VALID): Remove as useless synonym of OVERLAYP.
* buffer.c (overlay_touches_p, recenter_overlay_lists): Change to
eassert and OVERLAYP.
(sort_overlays): Change to use OVERLAYP.
Diffstat (limited to 'src/buffer.h')
| -rw-r--r-- | src/buffer.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/buffer.h b/src/buffer.h index 0615f85bfe6..4003be5c8c4 100644 --- a/src/buffer.h +++ b/src/buffer.h | |||
| @@ -971,10 +971,6 @@ BUF_FETCH_MULTIBYTE_CHAR (struct buffer *buf, ptrdiff_t pos) | |||
| 971 | 971 | ||
| 972 | /* Overlays */ | 972 | /* Overlays */ |
| 973 | 973 | ||
| 974 | /* 1 if the OV is an overlay object. */ | ||
| 975 | |||
| 976 | #define OVERLAY_VALID(OV) (OVERLAYP (OV)) | ||
| 977 | |||
| 978 | /* Return the marker that stands for where OV starts in the buffer. */ | 974 | /* Return the marker that stands for where OV starts in the buffer. */ |
| 979 | 975 | ||
| 980 | #define OVERLAY_START(OV) (XOVERLAY (OV)->start) | 976 | #define OVERLAY_START(OV) (XOVERLAY (OV)->start) |