From f54d2bd0a92e69d8e9649f9370fea5b08ac1f00b Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Fri, 21 Apr 2017 01:25:02 +0100 Subject: [PATCH] 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.