From ee9174861328739fbfa866162bef748c160ab076 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 7 Jul 2018 13:14:50 +0200 Subject: [PATCH] Document doom-cleanup-hook --- core/autoload/buffers.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/autoload/buffers.el b/core/autoload/buffers.el index f1050c72a..f05ba64ae 100644 --- a/core/autoload/buffers.el +++ b/core/autoload/buffers.el @@ -34,6 +34,11 @@ See `doom-real-buffer-p' for more information.") "The name of the buffer to fall back to if no other buffers exist (will create it if it doesn't exist).") +;;;###autoload +(defvar doom-cleanup-hook () + "A list of hooks run when `doom/cleanup-session' is run, meant to clean up +leftover buffers and processes.") + ;; ;; Functions