mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add tools/magit/autoload.el
This commit is contained in:
8
modules/tools/magit/autoload.el
Normal file
8
modules/tools/magit/autoload.el
Normal 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)))
|
Reference in New Issue
Block a user