mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user