ace-window.el (aw-switch-buffer-in-window): Use ivy if available

Fixes #107
old-master
Oleh Krehel 8 years ago
parent c875ffbe64
commit 6d3a6a0729
  1. 4
      ace-window.el

@ -496,7 +496,9 @@ Windows are numbered top down, left to right."
(defun aw-switch-buffer-in-window (window)
"Select buffer in WINDOW."
(aw-switch-to-window window)
(call-interactively 'switch-to-buffer))
(if (bound-and-true-p ivy-mode)
(ivy-switch-buffer)
(call-interactively 'switch-to-buffer)))
(defcustom aw-swap-invert nil
"When non-nil, the other of the two swapped windows gets the point."

Loading…
Cancel
Save