bug#81613: [PATCH] Make vc-dir use display-buffer instead of pop-to-buffer

Sean Whitton <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
Protesilaos [13/Aug  1:57pm +03] wrote:
> Dear maintainers,
>
> I was trying to control the placement of "*vc-dir*" buffers via the
> 'display-buffer-alist' but I could not get the expected results. Then
> I looked at the source code to find that 'M-x vc-dir' relies on
> 'pop-to-buffer'. The attached patch includes the small change we need
> to get 'vc-dir' to conform with 'display-buffer-alist'.

pop-to-buffer normally respects display-buffer-alist, though?

Also display-buffer will mean that by default the buffer is not selected
which is not what we want.

-- 
Sean Whitton
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.