Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion ace-window.el
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ This will make `ace-window' act different from `other-window' for
one or two windows."
:type 'boolean)

(defcustom ace-window-hook '()
"Called upon entry into ace-window mode."
:type 'hook
:group 'ace-window)

(defface aw-leading-char-face
'((((class color)) (:foreground "red"))
(((background dark)) (:foreground "gray100"))
Expand Down Expand Up @@ -381,7 +386,8 @@ window."
(ace-select-window))
(4 (ace-swap-window))
(16 (ace-delete-window))
(t (ace-select-window))))
(t (ace-select-window)))
(run-hooks 'ace-window-hook))

;;* Utility
(defun aw-window< (wnd1 wnd2)
Expand Down