Permalink
Browse files

Add `aw-reverse-frame-list` variable

* When non-nil reverts to pre 92bd29c frame ordering
* Defaults to post 92bd29c frame ordering
1 parent 92bd29c commit de873d17f0ac33d49b769b302f94a71ccddd4502 @jtamagnan jtamagnan committed Oct 18, 2016
Showing with 6 additions and 1 deletion.
  1. +6 −1 ace-window.el
View
@@ -108,6 +108,11 @@ This will make `ace-window' act different from `other-window' for
one or two windows."
:type 'boolean)
+(defcustom aw-reverse-frame-list nil
+ "When non-nil `ace-window' will order frames for selection in
+the reverse of `frame-list'"
+ :type 'boolean)
+
(defface aw-leading-char-face
'((((class color)) (:foreground "red"))
(((background dark)) (:foreground "gray100"))
@@ -394,7 +399,7 @@ Windows are numbered top down, left to right."
(e2 (window-edges wnd2)))
(cond ((string< (frame-parameter f1 'window-id)
(frame-parameter f2 'window-id))
- nil)
+ aw-reverse-frame-list)
((< (car e1) (car e2))
t)
((> (car e1) (car e2))

0 comments on commit de873d1

Please sign in to comment.