With 'at-full style, use full len to check for overlap

avy.el (avy--overlay-at-full): Update.
This commit is contained in:
Oleh Krehel 2015-05-12 10:52:39 +02:00
parent b602a560be
commit 7433f309a7

3
avy.el
View File

@ -424,7 +424,8 @@ LEAF is normally ((BEG . END) . WND)."
(goto-char beg)
(when (cl-some (lambda (o)
(eq (overlay-get o 'category) 'avy))
(overlays-at (1+ (point))))
(overlays-in (point) (min (+ (point) len)
(line-end-position))))
(setq str (substring str 0 1))
(setq len 1))
(let* ((end (if (= beg (line-end-position))