changeset 9951:586bb1122715

(OVERLAY_POSITION): Use the new type-test macros.
author Karl Heuer <kwzh@gnu.org>
date Tue, 15 Nov 1994 23:55:03 +0000
parents 605bd2a8f816
children 9daedd94a204
files src/buffer.h
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.h	Tue Nov 15 23:54:26 1994 +0000
+++ b/src/buffer.h	Tue Nov 15 23:55:03 1994 +0000
@@ -426,9 +426,8 @@
 /* Return the actual buffer position for the marker P.
    We assume you know which buffer it's pointing into.  */
 
-#define OVERLAY_POSITION(P)						\
- (XGCTYPE ((P)) == Lisp_Misc && XMISC ((P))->type == Lisp_Misc_Marker	\
-  ? marker_position ((P)) : (abort (), 0))
+#define OVERLAY_POSITION(P) \
+ (GC_MARKERP (P) ? marker_position (P) : (abort (), 0))
 
 /* Allocation of buffer text.  */