]> git.earman.xyz Git - emacsinit.git/commitdiff
Fixed magit-quit-session
authorrearman <rearman@r717.net>
Fri, 18 Nov 2022 19:15:35 +0000 (14:15 -0500)
committerrearman <rearman@r717.net>
Fri, 18 Nov 2022 19:15:35 +0000 (14:15 -0500)
init.el

diff --git a/init.el b/init.el
index d75846a6441d72ea00bda40dbbf4cb5e246c283a..32379865b95dbdb1470241a7151d8b0ecff05617 100644 (file)
--- a/init.el
+++ b/init.el
@@ -226,7 +226,7 @@ Stolen from http://whattheemacsd.com"
   "Restores the previous window configuration and kills the magit buffer.
 Stolen from http://whattheemacsd.com"
   (interactive)
-  (kill-buffer)
+  (kill-matching-buffers "magit" nil t)
   (jump-to-register :magit-fullscreen))
 
 (defun smart-beginning-of-line ()