From: Karl Heuer Date: Tue, 15 Nov 1994 23:55:03 +0000 (+0000) Subject: (OVERLAY_POSITION): Use the new type-test macros. X-Git-Tag: emacs-19.34~5904 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=915857ff0a5fa89192d35b3155aba49814b19a8c;p=emacs.git (OVERLAY_POSITION): Use the new type-test macros. --- diff --git a/src/buffer.h b/src/buffer.h index 2adcd95b0cc..132db637eb7 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -426,9 +426,8 @@ extern Lisp_Object Vtransient_mark_mode; /* 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. */