tools/magit: don't kill processes
This commit is contained in:
parent
a47d76f5f1
commit
163d0ce70e
1 changed files with 3 additions and 1 deletions
|
@ -5,4 +5,6 @@
|
||||||
"TODO"
|
"TODO"
|
||||||
(interactive)
|
(interactive)
|
||||||
(magit-restore-window-configuration)
|
(magit-restore-window-configuration)
|
||||||
(mapc #'kill-buffer (doom-buffers-in-mode 'magit-mode (buffer-list) t)))
|
(cl-loop for buf in (doom-buffers-in-mode 'magit-mode (buffer-list) t)
|
||||||
|
unless (eq (buffer-local-value 'major-mode buf) 'magit-process-mode)
|
||||||
|
do (kill-buffer buf)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue