Skip to content

Commit

Permalink
ivy.el (ivy-switch-buffer-other-window): Fix ivy-use-virtual-buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
abo-abo authored and astoff committed Jan 1, 2021
1 parent 2c2e2c6 commit fe6d210
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ivy.el
Expand Up @@ -2086,7 +2086,9 @@ This is useful for recursive `ivy-read'."
(setq coll (ivy--buffer-list
""
(and ivy-use-virtual-buffers
(member caller '(ivy-switch-buffer counsel-switch-buffer)))
(member caller '(ivy-switch-buffer
ivy-switch-buffer-other-window
counsel-switch-buffer)))
predicate)))
(dynamic-collection
(setq coll (funcall collection ivy-text)))
Expand Down

0 comments on commit fe6d210

Please sign in to comment.