From f93a5180a61070c14906a86d5665c615bdbc652a Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 14 Dec 2022 20:13:47 +0200 Subject: Update the documentation of overlays (bug#59996) * src/buffer.c (Foverlay_recenter, Foverlay_lists): Update the doc strings. * lisp/subr.el (copy-overlay): Update comment. * doc/lispref/internals.texi (Buffer Internals): Remove buffer fields relevant to the old implementation; add the new interval tree field. * doc/lispref/display.texi (Overlays, Managing Overlays): Update text to be consistent with the new implementation of overlays. (Managing Overlays): Remove documentation of 'overlay-recenter'. * etc/NEWS: Mention incompatible aspects of overlay reimplementation. --- lisp/subr.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/subr.el') diff --git a/lisp/subr.el b/lisp/subr.el index 21f43092d42..e142eaa8104 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -3855,7 +3855,7 @@ If MESSAGE is nil, instructions to type EXIT-CHAR are displayed there." (let ((o1 (if (overlay-buffer o) (make-overlay (overlay-start o) (overlay-end o) ;; FIXME: there's no easy way to find the - ;; insertion-type of the two markers. + ;; insertion-type of overlay's start and end. (overlay-buffer o)) (let ((o1 (make-overlay (point-min) (point-min)))) (delete-overlay o1) -- cgit v1.2.3