branch: master
commit d932090f92ea149fdf9348a88e682640d33fabaa
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
avy-jump.el (avi--overlay): Fix bug
---
avy-jump.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/avy-jump.el b/avy-jump.el
index 672ffcb..ef2f0c5 100644
--- a/avy-jump.el
+++ b/avy-jump.el
@@ -97,7 +97,8 @@ Each element of the list is ((BEG . END) . WND)."
(old-str (with-selected-window wnd
(buffer-substring pt (1+ pt)))))
(when avi-background
- (propertize old-str 'face 'aw-background-face))
+ (setq old-str (propertize
+ old-str 'face 'aw-background-face)))
(overlay-put ol 'window wnd)
(overlay-put ol 'display (concat str old-str))
(push ol aw-overlays-lead)))