From b20b233986ce72f38f312b6b538656030a65ed69 Mon Sep 17 00:00:00 2001 From: TEC Date: Fri, 23 Jul 2021 03:17:34 +0800 Subject: [PATCH] Mu4e: Avoid making assumptions about defuns result It's not guaranteed that `defun' will return the new function symbol, but add-hook! works around this. --- modules/email/mu4e/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/email/mu4e/config.el b/modules/email/mu4e/config.el index 1012e771f..4cf161ed1 100644 --- a/modules/email/mu4e/config.el +++ b/modules/email/mu4e/config.el @@ -87,7 +87,7 @@ (if (display-graphic-p) (+mu4e-initialise-icons) ;; When it's the server, wait till the first graphical frame - (add-hook + (add-hook! 'server-after-make-frame-hook (defun +mu4e-initialise-icons-hook () (when (display-graphic-p)