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:
parent
921157f8d7
commit
b20b233986
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@
|
||||||
(if (display-graphic-p)
|
(if (display-graphic-p)
|
||||||
(+mu4e-initialise-icons)
|
(+mu4e-initialise-icons)
|
||||||
;; When it's the server, wait till the first graphical frame
|
;; When it's the server, wait till the first graphical frame
|
||||||
(add-hook
|
(add-hook!
|
||||||
'server-after-make-frame-hook
|
'server-after-make-frame-hook
|
||||||
(defun +mu4e-initialise-icons-hook ()
|
(defun +mu4e-initialise-icons-hook ()
|
||||||
(when (display-graphic-p)
|
(when (display-graphic-p)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue