chiark / gitweb /
el/dot-emacs.el: Override Magit buffer display logic.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 2 May 2022 11:55:47 +0000 (12:55 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 2 May 2022 11:58:07 +0000 (12:58 +0100)
commit8a45d6850597ffd90ecb8d3c1036b8117cb9c4cf
tree08af7edd8311c7d1a382a09bb2d4c56d4898bef3
parent4ebbf6a71a9ddff39cdb512c3aa4c0bbe59578b2
el/dot-emacs.el: Override Magit buffer display logic.

It's actually nearly right, except that it wants to cover existing Magit
windows with commit log and that's a mistake.

Implement a new version of `magit-display-buffer-traditional' which (a)
uses a list of modes in a variable rather than hardcoding it, and (b)
honours a designated window if there is one.
el/dot-emacs.el