From eda4b0c1ef424a8929e287d717e9cd76496f56ad Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 28 Dec 2012 11:24:28 +0100 Subject: [PATCH] Emacs: Show magit main window in current window --- .emacs.d/init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 1e5b60b..fb7e975 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -400,6 +400,9 @@ (add-to-list 'display-buffer-alist '("^\\*git-project-list\\*$" . ((git-project-show-window . nil)))) +(add-to-list + 'display-buffer-alist + '("^\\*magit: .*\\*$" . ((display-buffer-same-window . nil)))) (unless (oni:required-packages-installed-p) (message "%s" "Refreshing package database...")