refactor: move doom-*-reload-hook to lib/config.el
These hooks are only used by this library, and in interactive sessions, neither of which make them a good fit for doom.el.
This commit is contained in:
parent
6cf0e04de0
commit
b68c93d924
2 changed files with 8 additions and 10 deletions
|
@ -3,6 +3,14 @@
|
|||
(defvar doom-bin-dir (expand-file-name "bin/" doom-emacs-dir))
|
||||
(defvar doom-bin (expand-file-name "doom" doom-bin-dir))
|
||||
|
||||
;;;###autoload
|
||||
(defvar doom-after-reload-hook nil
|
||||
"A list of hooks to run after `doom/reload' has reloaded Doom.")
|
||||
|
||||
;;;###autoload
|
||||
(defvar doom-before-reload-hook nil
|
||||
"A list of hooks to run before `doom/reload' has reloaded Doom.")
|
||||
|
||||
;;;###autoload
|
||||
(defvar doom-reloading-p nil
|
||||
"TODO")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue