HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84d1833
)
(OVERLAY_POSITION): Marker assert now tests substructure.
author
Karl Heuer
<kwzh@gnu.org>
Tue, 11 Oct 1994 07:45:41 +0000
(07:45 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Tue, 11 Oct 1994 07:45:41 +0000
(07:45 +0000)
src/buffer.h
patch
|
blob
|
blame
|
history
diff --git
a/src/buffer.h
b/src/buffer.h
index
4e2a649
..
d456e1b
100644
(file)
--- a/
src/buffer.h
+++ b/
src/buffer.h
@@
-426,8
+426,9
@@
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_Marker ? marker_position ((P)) : (abort (), 0))
+#define OVERLAY_POSITION(P) \
+ (XGCTYPE ((P)) == Lisp_Misc && XMISC ((P))->type == Lisp_Misc_Marker \
+ ? marker_position ((P)) : (abort (), 0))
/* Allocation of buffer text. */