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
@@ -537,7 +543,7 @@ Amend MODE-LINE to the mode line for the duration of the selection."
537543 (wnd-list (aw-window-list))
538544 window)
539545 (setq window
540- (cond ((<= (length wnd-list) 1 )
546+ (cond ((and ( not aw-select-always) ( <= (length wnd-list) 1 ) )
541547 (when aw-dispatch-always
542548 (setq aw-action
543549 (unwind-protect
You can’t perform that action at this time.
0 commit comments