emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 4007986 14/20: Fix avy-background for multiple windows


From: Oleh Krehel
Subject: [elpa] master 4007986 14/20: Fix avy-background for multiple windows
Date: Sat, 09 May 2015 11:57:53 +0000

branch: master
commit 4007986c4cecf67f90f68111e6647df0710b142b
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    Fix avy-background for multiple windows
    
    * avy-jump.el (avy--process): Update.
    
    Fixes #26
---
 avy-jump.el |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]