* lisp.h (Lisp_Overlay): New tag.
authorJim Blandy <jimb@redhat.com>
Fri, 14 May 1993 14:41:36 +0000 (14:41 +0000)
committerJim Blandy <jimb@redhat.com>
Fri, 14 May 1993 14:41:36 +0000 (14:41 +0000)
commit20280af7ca3a4c80cd80cd3fd168ce09e9a6b159
tree4098626fcae79e1e9e5508d4483630b4a6ce08ac
parent620567645f9c58fcbaf3e39b10ad39d6994769af
* lisp.h (Lisp_Overlay): New tag.
(OVERLAYP): New predicate.
(CHECK_OVERLAY): New type-checker.
(Qoverlayp): New extern declaration.
* buffer.c (Foverlayp): New function.
(Qoverlayp): New atom.
(overlays_at, recenter_overlay_lists): Abort if we encounter an
invalid overlay.
(syms_of_buffer): defsubr Soverlayp; initialize Qoverlayp.
(Fdelete_overlay): Set the overlay's markers to point nowhere.
Use CHECK_OVERLAY instead of signalling a special error.
(Fmove_overlay, Foverlay_put): Use CHECK_OVERLAY instead of
signalling a special error.
(Foverlay_get): Use CHECK_OVERLAY.
* fns.c (internal_equal): Define this for overlays.
* buffer.h (OVERLAY_VALID): Define in terms of OVERLAYP.
* print.c (print): Give overlays their own print syntax.
* alloc.c (mark_object): Treat overlays like conses.

* lisp.h (FLOATP): Define this appropriately when LISP_FLOAT_TYPE
is not defined.
src/lisp.h