mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-14 05:43:04 +00:00
avy.el (avy--overlay-at-full): Check overlay window
* avy.el (avy--overlay-at-full): Update. Re #47
This commit is contained in:
parent
92a7884d9c
commit
a4f4015db4
3
avy.el
3
avy.el
@ -460,7 +460,8 @@ LEAF is normally ((BEG . END) . WND)."
|
|||||||
(save-excursion
|
(save-excursion
|
||||||
(goto-char beg)
|
(goto-char beg)
|
||||||
(when (cl-some (lambda (o)
|
(when (cl-some (lambda (o)
|
||||||
(eq (overlay-get o 'category) 'avy))
|
(and (eq (overlay-get o 'category) 'avy)
|
||||||
|
(eq (overlay-get o 'window) wnd)))
|
||||||
(overlays-in (point) (min (+ (point) len)
|
(overlays-in (point) (min (+ (point) len)
|
||||||
(line-end-position))))
|
(line-end-position))))
|
||||||
(setq str (substring str 0 1))
|
(setq str (substring str 0 1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user