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.
This commit is contained in:
TEC
2021-07-23 03:17:34 +08:00
parent 921157f8d7
commit b20b233986

View File

@ -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)