Run org-load-hook functions on doom/reload

This commit is contained in:
Henrik Lissner 2020-05-20 01:07:32 -04:00
parent 8b8e7537b7
commit 090d0f7d53
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -1035,9 +1035,9 @@ compelling reason, so..."
;; In case the user has eagerly loaded org from their configs
(when (and (featurep 'org)
(not doom-reloading-p)
(not byte-compile-current-file))
(message "`org' was already loaded by the time lang/org loaded, this may cause issues")
(unless doom-reloading-p
(message "`org' was already loaded by the time lang/org loaded, this may cause issues"))
(run-hooks 'org-load-hook))
:config