about summary refs log tree commit diff
path: root/users/wpcarro/emacs/.emacs.d
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-02-08T20·12-0800
committerclbot <clbot@tvl.fyi>2022-02-08T20·19+0000
commit64a4aad73b0e03cd0ff40e97a79b12ffaa38e686 (patch)
treeefd057946ce9ec898452bbac54b41d7dde2bc4db /users/wpcarro/emacs/.emacs.d
parentfdd9b09d4f62282163d060e4576d319d570e430e (diff)
fix(wpcarro/emacs): change magit's buffer display function 🎉 r/3802
Reuse the same buffer from which magit was invoked.

Change-Id: I20f661c8414cd6482d9374f9412186c66b736b94
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5265
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro/emacs/.emacs.d')
-rw-r--r--users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el b/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el
index 1131e7fecf73..fca8b60ddc56 100644
--- a/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el
+++ b/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el
@@ -124,7 +124,7 @@
               (company-mode -1)
               (flyspell-mode 1)))
   (setq magit-display-buffer-function
-        #'magit-display-buffer-fullframe-status-v1))
+        #'magit-display-buffer-same-window-except-diff-v1))
 
 (use-package magit-popup)