avy.el (avy--overlay-at-full): More consistent face order

Fixes #270
This commit is contained in:
Oleh Krehel 2019-05-06 17:06:06 +02:00
parent 4d52b5cb7e
commit a7230906c4

2
avy.el
View File

@ -1094,7 +1094,7 @@ LEAF is normally ((BEG . END) . WND)."
(wnd (cdr leaf)) (wnd (cdr leaf))
end) end)
(dotimes (i len) (dotimes (i len)
(set-text-properties (- len i 1) (- len i) (set-text-properties i (1+ i)
`(face ,(nth i avy-lead-faces)) `(face ,(nth i avy-lead-faces))
str)) str))
(when (eq avy-style 'de-bruijn) (when (eq avy-style 'de-bruijn)