Commit 915857ff authored by Karl Heuer's avatar Karl Heuer
Browse files

(OVERLAY_POSITION): Use the new type-test macros.

parent 8fc0589a
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment