Fix void-function doom-try-hook

This snuck into a recent commit, but the function hasn't been renamed
yet.
This commit is contained in:
Henrik Lissner 2020-04-17 03:20:20 -04:00
parent 7662de55d8
commit 778652bfd6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -88,7 +88,7 @@ Runs `doom-reload-hook' afterwards."
(unwind-protect
(doom-initialize-modules 'force)
(general-auto-unbind-keys t)))
(run-hook-wrapped 'doom-reload-hook #'doom-try-hook)
(run-hook-wrapped 'doom-reload-hook #'doom-try-run-hook)
(print! (success "Config successfully reloaded!")))
(user-error "Failed to reload your config")))