emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: overlay-start > overlay-end


From: Richard Stallman
Subject: Re: overlay-start > overlay-end
Date: Mon, 22 Mar 2004 22:04:55 -0500

        (make-overlay (point) (point) (current-buffer) t)
        (insert ?x)
        (overlay-lists)))
    => ((#<overlay from 2 to 1 in *scratch*>))

Cute.

    +  /* Canonicalize the order of start and end. */
    +  if (tail)
    +    {

This fixes just one overlay.  What if there are several
such overlays?  I think it is necessary to have a loop
here, to fix as many broken overlays as there may be.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]