mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 21:33:05 +00:00
When selecting from many windows, prioritize the current
* avy-jump.el (avy-dowindows): Update. Fixes #14
This commit is contained in:
parent
bca96ae3b4
commit
e9310715e4
@ -70,7 +70,8 @@
|
|||||||
(not avy-all-windows)
|
(not avy-all-windows)
|
||||||
avy-all-windows)))
|
avy-all-windows)))
|
||||||
(dolist (wnd (if avy-all-windows
|
(dolist (wnd (if avy-all-windows
|
||||||
(window-list)
|
(cons (selected-window)
|
||||||
|
(delete (selected-window) (window-list)))
|
||||||
(list (selected-window))))
|
(list (selected-window))))
|
||||||
(with-selected-window wnd
|
(with-selected-window wnd
|
||||||
(unless (memq major-mode '(image-mode doc-view-mode))
|
(unless (memq major-mode '(image-mode doc-view-mode))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user