From b6abd3f7207debdc5e76fa3cb15c670cc6c1d91a Mon Sep 17 00:00:00 2001 From: Ian Keane Date: Fri, 24 Nov 2023 23:00:12 -0500 Subject: [PATCH] Fix window behavior for magit --- guix/init.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/init.org b/guix/init.org index 2133992..f9fb44b 100644 --- a/guix/init.org +++ b/guix/init.org @@ -724,7 +724,7 @@ Uses the external fish program to provide fish-style completions to eshell etc (global-git-gutter+-mode t) (use-package magit) (use-package magit-todos) - (setq magit-display-buffer-function 'switch-to-buffer) + (setq magit-display-buffer-function 'magit-display-buffer-same-window-except-diff-v1) #+end_src * Meow #+begin_src emacs-lisp