Add doom-cleanup-hook to doom/cleanup-buffers
This commit is contained in:
parent
e8b9c7dba7
commit
e024144f4f
1 changed files with 1 additions and 0 deletions
|
@ -308,6 +308,7 @@ project."
|
|||
(defun doom/cleanup-buffers (&optional all-p)
|
||||
"Clean up buried and inactive process buffers in the current workspace."
|
||||
(interactive "P")
|
||||
(run-hooks 'doom-cleanup-hook)
|
||||
(let ((buffers (doom-buried-buffers (if all-p (buffer-list))))
|
||||
(n 0))
|
||||
(mapc #'kill-buffer buffers)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue