From e024144f4f5a4a6d29050d4e05d4e25d813be1fb Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 26 Dec 2017 19:27:14 -0500 Subject: [PATCH] Add doom-cleanup-hook to doom/cleanup-buffers --- core/autoload/buffers.el | 1 + 1 file changed, 1 insertion(+) 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)