(OVERLAY_POSITION): Use XGCTYPE.
authorRichard M. Stallman <rms@gnu.org>
Sun, 3 Apr 1994 19:37:32 +0000 (19:37 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 3 Apr 1994 19:37:32 +0000 (19:37 +0000)
src/buffer.h

index e5638bb..de20ae7 100644 (file)
@@ -386,7 +386,7 @@ extern Lisp_Object Vtransient_mark_mode;
    We assume you know which buffer it's pointing into.  */
 
 #define OVERLAY_POSITION(P)                                    \
- (MARKERP ((P)) ? marker_position ((P)) : (abort (), 0))
+ (XGCTYPE ((P)) == Lisp_Marker ? marker_position ((P)) : (abort (), 0))
 
 /* Allocation of buffer text.  */