mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 13:33:03 +00:00
avy.el (avy--overlay-at): Use `avy--overlay-offset'
Fixes abo-abo/lispy#70
This commit is contained in:
parent
8efed4072a
commit
b0512fc8f7
7
avy.el
7
avy.el
@ -405,9 +405,10 @@ LEAF is normally ((BEG . END) . WND)."
|
||||
(let ((str (propertize
|
||||
(string (car (last path)))
|
||||
'face 'avy-lead-face))
|
||||
(pt (if (consp (car leaf))
|
||||
(caar leaf)
|
||||
(car leaf)))
|
||||
(pt (+ (if (consp (car leaf))
|
||||
(caar leaf)
|
||||
(car leaf))
|
||||
avy--overlay-offset))
|
||||
(wnd (cdr leaf)))
|
||||
(let ((ol (make-overlay pt (1+ pt)
|
||||
(window-buffer wnd)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user