Fix doom-unicode-font

This commit is contained in:
Henrik Lissner 2018-05-09 00:17:57 +02:00
parent 4705153873
commit 6359fec985
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -506,6 +506,7 @@ frame's window-system, the theme will be reloaded.")
(set-face-attribute 'fixed-pitch nil :font doom-font)) (set-face-attribute 'fixed-pitch nil :font doom-font))
;; Fallback to `doom-unicode-font' for Unicode characters ;; Fallback to `doom-unicode-font' for Unicode characters
(when (fontp doom-unicode-font) (when (fontp doom-unicode-font)
(setq use-default-font-for-symbols nil)
(set-fontset-font t 'unicode doom-unicode-font nil)) (set-fontset-font t 'unicode doom-unicode-font nil))
;; ...and for variable-pitch-mode: ;; ...and for variable-pitch-mode:
(when (fontp doom-variable-pitch-font) (when (fontp doom-variable-pitch-font)