From e497df4a2883d01440e18715d0797f1491a51e95 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 5 Mar 2019 19:23:50 -0500 Subject: [PATCH] Restore obsolete doom-(post-)?init hooks These will be removed later. --- core/core.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/core.el b/core/core.el index 344949d54..e1d4c5517 100644 --- a/core/core.el +++ b/core/core.el @@ -124,6 +124,9 @@ This includes the user's private module in `doom-private-dir'.") (defvar doom-reload-hook nil "A list of hooks to run when `doom/reload' is called.") +(define-obsolete-variable-alias 'doom-post-init-hook 'doom-init-modules-hook "2.1.0") +(define-obsolete-variable-alias 'doom-init-hook 'doom-before-init-modules-hook "2.1.0") + ;; ;; Emacs core configuration