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

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

[elpa] externals/ace-window 2d132ba 75/92: ace-window.el (aw-transpose-f


From: Stefan Monnier
Subject: [elpa] externals/ace-window 2d132ba 75/92: ace-window.el (aw-transpose-frame): Add and bind to "t"
Date: Wed, 17 Mar 2021 18:39:25 -0400 (EDT)

branch: externals/ace-window
commit 2d132bab253de7c09500881b4302f47d15584253
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    ace-window.el (aw-transpose-frame): Add and bind to "t"
    
    Fixes #96
---
 ace-window.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/ace-window.el b/ace-window.el
index ecb36c3..0ba553b 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -167,6 +167,7 @@ Consider changing this if the overlay tends to overlap with 
other things."
     (?v aw-split-window-vert "Split Vert Window")
     (?b aw-split-window-horz "Split Horz Window")
     (?o delete-other-windows "Delete Other Windows")
+    (?t aw-transpose-frame "Transpose Frame")
     (?? aw-show-dispatch-help))
   "List of actions for `aw-dispatch-default'.
 Each action is a list of either:
@@ -580,6 +581,10 @@ Amend MODE-LINE to the mode line for the duration of the 
selection."
   (aw-select " Ace - Delete Other Windows"
              #'delete-other-windows))
 
+(defun aw-transpose-frame (w)
+  "Select any window on frame and `tranpose-frame'."
+  (transpose-frame (window-frame w)))
+
 (define-obsolete-function-alias
     'ace-maximize-window 'ace-delete-other-windows "0.10.0")
 



reply via email to

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