aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorDmitry Antipov2012-07-17 08:29:50 +0400
committerDmitry Antipov2012-07-17 08:29:50 +0400
commit22657b40985ec990ea20df878bde97af76b19ed1 (patch)
treef8c3c15fe86a512d499446fe1f106c8fd5f594dd /src/buffer.h
parentddfc8813451b43f1cdb06fd07a47123b9f92bd70 (diff)
downloademacs-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.h4
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)