File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,12 @@ Use M-0 `ace-window' to toggle this value."
120120 (const :tag " single char" 'char )
121121 (const :tag " full path" 'path )))
122122
123+ (defcustom aw-select-always nil
124+ " When non-nil, `ace-window' will activate ace-window-ness even for on window.
125+ This will make `ace-window' act different from `other-window' for
126+ one or two windows."
127+ :type 'boolean )
128+
123129(defcustom aw-dispatch-always nil
124130 " When non-nil, `ace-window' will issue a `read-char' even for one window.
125131This will make `ace-window' act different from `other-window' for
@@ -534,7 +540,7 @@ Amend MODE-LINE to the mode line for the duration of the selection."
534540 (wnd-list (aw-window-list))
535541 window)
536542 (setq window
537- (cond ((<= (length wnd-list) 1 )
543+ (cond ((and ( not aw-select-always) ( <= (length wnd-list) 1 ) )
538544 (when aw-dispatch-always
539545 (setq aw-action
540546 (unwind-protect
You can’t perform that action at this time.
0 commit comments