Set fixed-pitch font too
This commit is contained in:
parent
a084318932
commit
cd2f01e9ab
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue