[Top][All Lists]

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

Re: Using overlay in register

From: Richard Stallman
Subject: Re: Using overlay in register
Date: Mon, 22 Mar 2004 00:24:53 -0500

    I have seen emacs's strange behaviors twice; Emacs returned an overlay 
whose start is
    greater than its end. I cannot find the way to reproduce it.

That is a bug.  It should never happen.

    (defun register-get-overlay-position (overlay)
      "Get the position for OVERLAY."
      (min (overlay-start overlay) (overlay-end overlay)))

Please eliminate that function and use overlay-start.

reply via email to

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