summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-04-03 19:37:32 +0000
committerRichard M. Stallman <rms@gnu.org>1994-04-03 19:37:32 +0000
commit29ff037d327e47927b4d2951e3f81db81bb90e3c (patch)
treedfda743eed931336dc54f3633781ebe652858d66 /src/buffer.h
parentb14db4d73b5ec7fb35a2cba7e404820239e8d2ed (diff)
downloademacs-29ff037d327e47927b4d2951e3f81db81bb90e3c.tar.gz
emacs-29ff037d327e47927b4d2951e3f81db81bb90e3c.tar.bz2
emacs-29ff037d327e47927b4d2951e3f81db81bb90e3c.zip
(OVERLAY_POSITION): Use XGCTYPE.
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.h b/src/buffer.h
index e5638bbe083..de20ae7ae4f 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -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. */