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

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

[elpa] master e931071 04/20: When selecting from many windows, prioritiz


From: Oleh Krehel
Subject: [elpa] master e931071 04/20: When selecting from many windows, prioritize the current
Date: Sat, 09 May 2015 11:57:49 +0000

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

    When selecting from many windows, prioritize the current
    
    * avy-jump.el (avy-dowindows): Update.
    
    Fixes #14
---
 avy-jump.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/avy-jump.el b/avy-jump.el
index 444b27a..eca101e 100644
--- a/avy-jump.el
+++ b/avy-jump.el
@@ -70,7 +70,8 @@
                               (not avy-all-windows)
                             avy-all-windows)))
      (dolist (wnd (if avy-all-windows
-                      (window-list)
+                      (cons (selected-window)
+                            (delete (selected-window) (window-list)))
                     (list (selected-window))))
        (with-selected-window wnd
          (unless (memq major-mode '(image-mode doc-view-mode))



reply via email to

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