From 4007986c4cecf67f90f68111e6647df0710b142b Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Sat, 9 May 2015 12:52:38 +0200 Subject: [PATCH] Fix avy-background for multiple windows * avy-jump.el (avy--process): Update. Fixes #26 --- avy-jump.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/avy-jump.el b/avy-jump.el index 6efb158..ffd415c 100644 --- a/avy-jump.el +++ b/avy-jump.el @@ -122,7 +122,11 @@ Use OVERLAY-FN to visualize the decision overlay." (1 (car candidates)) (t - (avy--make-backgrounds (list (selected-window))) + (avy--make-backgrounds + (if avy-all-windows + (window-list) + (list (selected-window)) + )) (avy-read (avy-tree candidates avy-keys) overlay-fn #'avy--remove-leading-chars)))