0

When I do a commit, magit popups the diff in a separate wm window. I'd like it to show the diff in the same wm window and just split into a different wm window.

I've tried this answer, but it hasn't worked.

magit 20200805.1104 emacs 26.3

1 Answer 1

1

I think you are looking for the magit-display-buffer-function option.

2
  • Thanks, (setq magit-display-buffer-function (quote magit-display-buffer-same-window-except-diff-v1)) seems to have done it. Commented Aug 17, 2020 at 13:45
  • This has worked for commit diffs, but it doesn't seem to work for magit-revision frames which still pop-out (e.g. when pressing Enter on an entry in magit-log). Is there a separate variable for that? Or a way to set this behaviour globally? Commented Aug 17, 2020 at 14:37

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.