|
From: | Lennart Borgman (gmail) |
Subject: | Re: zero length overlays not found with overlays-at |
Date: | Fri, 23 Nov 2007 01:29:12 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
Johan Bockgård wrote:
"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:This shows the bug: (defun test-0-ovl () (remove-overlays) (make-overlay (point) (point) (current-buffer) t t) (message "point=%s, -at=%S, -in=%S" (point) (overlays-at (point)) (overlays-in (point) (1+ (point))) )) Is this bug still there?It's the correct behavior. The doc string for overlays-at (now) says Return a list of the overlays that contain the character at POS.
Thanks. I guess there is a good reason for changing the doc string, but this reminds me of a big company ...
In any case this is ok.
[Prev in Thread] | Current Thread | [Next in Thread] |