Set fixed-pitch font too

This commit is contained in:
Henrik Lissner 2020-02-21 01:05:18 -05:00
parent a084318932
commit cd2f01e9ab
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -566,6 +566,8 @@ behavior). Do not set this directly, this is let-bound in `doom-init-theme-h'.")
"Loads `doom-variable-pitch-font',`doom-serif-font' and `doom-unicode-font'."
(condition-case e
(with-selected-frame (or frame (selected-frame))
(when doom-font
(set-face-attribute 'fixed-pitch nil :font doom-font))
(when doom-serif-font
(set-face-attribute 'fixed-pitch-serif nil :font doom-serif-font))
(when doom-variable-pitch-font