* avy-jump.el (avy--make-backgrounds): Make the overlay local to the
current window. Avoids the problem when the same buffer is displayed
twice.
(avy--make-backgrounds
(if avy-all-windows
(window-list)
- (list (selected-window))
- ))
+ (list (selected-window))))
(avy-read (avy-tree candidates avy-keys)
overlay-fn
#'avy--remove-leading-chars)))
(window-end w)
(window-buffer w))))
(overlay-put ol 'face 'avy-background-face)
+ (overlay-put ol 'window w)
ol))
wnd-list))))