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

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

[elpa] externals/ace-window f54d2bd 11/92: ace-window.el (ace-maximize-w


From: Stefan Monnier
Subject: [elpa] externals/ace-window f54d2bd 11/92: ace-window.el (ace-maximize-window): Rename
Date: Wed, 17 Mar 2021 18:39:12 -0400 (EDT)

branch: externals/ace-window
commit f54d2bd0a92e69d8e9649f9370fea5b08ac1f00b
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    ace-window.el (ace-maximize-window): Rename
    
    Make ace-maximize-window an obsolete alias of ace-delete-other-windows to
    remain consistent with the corresponding functions in lisp/window.el.
    
    Fixes #85
---
 ace-window.el | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/ace-window.el b/ace-window.el
index 02a0654..84500dc 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -266,7 +266,7 @@ LEAF is (PT . WND)."
     (?c aw-split-window-fair " Ace - Split Fair Window")
     (?v aw-split-window-vert " Ace - Split Vert Window")
     (?b aw-split-window-horz " Ace - Split Horz Window")
-    (?i delete-other-windows " Ace - Maximize Window")
+    (?i delete-other-windows " Ace - Delete Other Windows")
     (?o delete-other-windows))
   "List of actions for `aw-dispatch-default'.")
 
@@ -359,12 +359,15 @@ Amend MODE-LINE to the mode line for the duration of the 
selection."
              #'aw-swap-window))
 
 ;;;###autoload
-(defun ace-maximize-window ()
-  "Ace maximize window."
+(defun ace-delete-other-windows ()
+  "Ace delete other windows."
   (interactive)
-  (aw-select " Ace - Maximize Window"
+  (aw-select " Ace - Delete Other Windows"
              #'delete-other-windows))
 
+(define-obsolete-function-alias
+  'ace-maximize-window 'ace-delete-other-windows "0.10.0")
+
 ;;;###autoload
 (defun ace-window (arg)
   "Select a window.



reply via email to

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