]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 e5638bbe0831b6fd2c3a5239676cce824ab63bcb..de20ae7ae4f012fa8dcb330fa4981979fae84a27 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.  */