D

display-buffer-control

Control how to open buffers matching specified conditions