Permalink
Browse files

magit: close window when aborting as well

  • Loading branch information...
1 parent c9cfcd3 commit 7cc2c0c2565b12c181fb9afcdba7b5a27ebc2b18 @bradwright committed Aug 27, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 packages/init-magit.el
View
@@ -29,6 +29,9 @@
(defadvice git-commit-commit (after delete-window activate)
(delete-window))
+ (defadvice git-commit-abort (after delete-window activate)
+ (delete-window))
+
;; these two force a new line to be inserted into a commit window,
;; which stops the invalid style showing up.
;; From: http://git.io/rPBE0Q

0 comments on commit 7cc2c0c

Please sign in to comment.