branch: master
commit e1ae6bad71500d1bb90966aadaee503a26cf8f87
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
Try not to end in `aw-ignored-p' when ace method isn't invoked
* ace-window.el (aw-select): Update.
Fixes #18
---
ace-window.el | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ace-window.el b/ace-window.el
index 5f4a7d0..1c8ece9 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -166,7 +166,10 @@ Amend MODE-LINE to the mode line for the duration of the
selection."
(select-window (aj-visual-area-window (car visual-area-list))))
(2
(select-window
- (next-window nil nil next-window-scope)))
+ (next-window nil nil next-window-scope))
+ (while (aw-ignored-p (selected-window))
+ (select-window
+ (next-window nil nil next-window-scope))))
(t
(let ((candidate-list
(mapcar (lambda (va)