Add tools/magit/autoload.el

This commit is contained in:
Henrik Lissner 2018-04-04 08:04:54 -04:00
parent 2ff7f48994
commit b98e26856d
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -0,0 +1,8 @@
;;; tools/magit/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(defun +magit/quit (&optional _kill-buffer)
"TODO"
(interactive)
(magit-restore-window-configuration)
(mapc #'kill-buffer (doom-buffers-in-mode 'magit-mode (buffer-list) t)))