ace-window.el (aw-delete-window): allow to delete current window

Fixes #7.
old-master
Oleh Krehel 12 years ago
parent 18f300a404
commit dd44ece5da
  1. 3
      ace-window.el

@ -252,8 +252,7 @@ Windows are numbered top down, left to right."
(if (and (frame-live-p frame)
(not (eq frame (selected-frame))))
(select-frame-set-input-focus (window-frame window)))
(if (and (window-live-p window)
(not (eq window (selected-window))))
(if (window-live-p window)
(delete-window window)))))
(defun aw-swap-window (position)

Loading…
Cancel
Save