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
No known key found for this signature in database
GPG key ID: 779591AFDB81F06C

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)