From cbb0ce9f85636d49832a98a019f3b7163b84d31f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 11 Jul 2021 12:54:41 -0400 Subject: [PATCH] Don't log hooks Produces a lot of logging noise, and Doom already injects context into errors that occur in hooks. --- core/core.el | 1 - 1 file changed, 1 deletion(-) diff --git a/core/core.el b/core/core.el index c0f05fecc..510adf7c3 100644 --- a/core/core.el +++ b/core/core.el @@ -521,7 +521,6 @@ unreadable. Returns the names of envvars that were changed." (defun doom-run-hook (hook) "Run HOOK (a hook function) with better error handling. Meant to be used with `run-hook-wrapped'." - (doom-log "Running doom hook: %s" hook) (condition-case-unless-debug e (funcall hook) (error