Don't try to restore window configuration when exiting magit buffers

This commit is contained in:
Adam Goldsmith 2021-05-26 00:49:51 -04:00
parent b610aa3be6
commit 7224ec283b

View File

@ -511,7 +511,9 @@
'(lambda (buffer) '(lambda (buffer)
(display-buffer buffer '(display-buffer-same-window)))) (display-buffer buffer '(display-buffer-same-window))))
(default-directory directory)) (default-directory directory))
(magit-status)))) (magit-status)))
:config
(setq magit-bury-buffer-function 'magit-mode-quit-window))
(use-package popwin :ensure (use-package popwin :ensure
:disabled :disabled