Fix doom/reload-font for XFT fonts

This commit is contained in:
Henrik Lissner 2018-09-20 22:22:14 -04:00
parent c3b39be4ab
commit 9245e030bb
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -146,7 +146,7 @@ windows (unlike `doom/window-zoom') Activate again to undo."
"Reload `doom-font', `doom-variable-pitch-font', and `doom-unicode-font', if
set."
(interactive)
(when (fontp doom-font)
(when doom-font
(set-frame-font doom-font t))
(doom|init-fonts))