diff --git a/core/autoload/buffers.el b/core/autoload/buffers.el index 0b6815021..d54028680 100644 --- a/core/autoload/buffers.el +++ b/core/autoload/buffers.el @@ -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)