diff options
-rw-r--r-- | init/km-git.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/init/km-git.el b/init/km-git.el index d0f2e5b..0d427f0 100644 --- a/init/km-git.el +++ b/init/km-git.el @@ -14,12 +14,10 @@ ;; http://whattheemacsd.com/setup-magit.el-01.html (defadvice magit-status (around magit-fullscreen activate) - (window-configuration-to-register :magit-fullscreen) ad-do-it (delete-other-windows)) -(defadvice magit-mode-quit-window (around magit-restore-screen activate) - ad-do-it - (jump-to-register :magit-fullscreen)) + +(setq magit-restore-window-configuration t) ;; http://whattheemacsd.com/setup-magit.el-05.html (defun km/magit-just-amend () |