Permalink
Browse files

We actually want to advise git-commit

  • Loading branch information...
1 parent 8c3d4aa commit d85ccaa5a9b09f6daedb98dd6533371302009c43 @bradwright committed Aug 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/init-magit.el
@@ -25,7 +25,7 @@
:config
(progn
;; restore previously hidden windows
- (defadvice magit-quit-window (around magit-restore-screen activate)
+ (defadvice git-commit-end-session (around magit-restore-screen activate)
(let ((current-mode major-mode))
ad-do-it
;; we only want to jump to register when the last seen buffer

0 comments on commit d85ccaa

Please sign in to comment.