mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Set fixed-pitch font too
This commit is contained in:
@ -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'."
|
"Loads `doom-variable-pitch-font',`doom-serif-font' and `doom-unicode-font'."
|
||||||
(condition-case e
|
(condition-case e
|
||||||
(with-selected-frame (or frame (selected-frame))
|
(with-selected-frame (or frame (selected-frame))
|
||||||
|
(when doom-font
|
||||||
|
(set-face-attribute 'fixed-pitch nil :font doom-font))
|
||||||
(when doom-serif-font
|
(when doom-serif-font
|
||||||
(set-face-attribute 'fixed-pitch-serif nil :font doom-serif-font))
|
(set-face-attribute 'fixed-pitch-serif nil :font doom-serif-font))
|
||||||
(when doom-variable-pitch-font
|
(when doom-variable-pitch-font
|
||||||
|
Reference in New Issue
Block a user