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 @@ -120,6 +120,12 @@ Use M-0 `ace-window' to toggle this value."
(const :tag "single char" 'char)
(const :tag "full path" 'path)))

(defcustom aw-select-always nil
"When non-nil, `ace-window' will activate ace-window-ness even for on window.
This will make `ace-window' act different from `other-window' for
one or two windows."
:type 'boolean)

(defcustom aw-dispatch-always nil
"When non-nil, `ace-window' will issue a `read-char' even for one window.
This will make `ace-window' act different from `other-window' for
Expand Down Expand Up @@ -534,7 +540,7 @@ Amend MODE-LINE to the mode line for the duration of the selection."
(wnd-list (aw-window-list))
window)
(setq window
(cond ((<= (length wnd-list) 1)
(cond ((and (not aw-select-always) (<= (length wnd-list) 1))
(when aw-dispatch-always
(setq aw-action
(unwind-protect
Expand Down