Split doom-reload-hook into before/after hooks

This commit is contained in:
Henrik Lissner
2020-10-16 22:28:08 -04:00
parent a835be1c40
commit 35185b2175
4 changed files with 11 additions and 8 deletions

View File

@@ -473,6 +473,12 @@ If this is a daemon session, load them all immediately instead."
(defvar doom-first-buffer-hook nil
"Transient hooks run before the first interactively opened buffer.")
(defvar doom-after-reload-hook nil
"A list of hooks to run before `doom/reload' has reloaded Doom.")
(defvar doom-before-reload-hook nil
"A list of hooks to run after `doom/reload' has reloaded Doom.")
;;
;;; Bootstrap helpers