diff options
| author | Karl Heuer | 1994-11-15 23:55:03 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-11-15 23:55:03 +0000 |
| commit | 915857ff0a5fa89192d35b3155aba49814b19a8c (patch) | |
| tree | 1f245179ac0dc0b36e5e0ec0aa323a6683dd6f49 /src/buffer.h | |
| parent | 8fc0589a7e4256b5e5ef39d23f790bf27a60cf9e (diff) | |
| download | emacs-915857ff0a5fa89192d35b3155aba49814b19a8c.tar.gz emacs-915857ff0a5fa89192d35b3155aba49814b19a8c.zip | |
(OVERLAY_POSITION): Use the new type-test macros.
Diffstat (limited to 'src/buffer.h')
| -rw-r--r-- | src/buffer.h | 5 |
1 files changed, 2 insertions, 3 deletions
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; | |||
| 426 | /* Return the actual buffer position for the marker P. | 426 | /* Return the actual buffer position for the marker P. |
| 427 | We assume you know which buffer it's pointing into. */ | 427 | We assume you know which buffer it's pointing into. */ |
| 428 | 428 | ||
| 429 | #define OVERLAY_POSITION(P) \ | 429 | #define OVERLAY_POSITION(P) \ |
| 430 | (XGCTYPE ((P)) == Lisp_Misc && XMISC ((P))->type == Lisp_Misc_Marker \ | 430 | (GC_MARKERP (P) ? marker_position (P) : (abort (), 0)) |
| 431 | ? marker_position ((P)) : (abort (), 0)) | ||
| 432 | 431 | ||
| 433 | /* Allocation of buffer text. */ | 432 | /* Allocation of buffer text. */ |
| 434 | 433 | ||