Impose fallback behaviour

This commit is contained in:
Patrick Elliott 2018-09-03 13:14:59 +02:00
parent f8f9144f08
commit 939dd93e79
No known key found for this signature in database
GPG Key ID: 7CA109C3974AF5FA

View File

@ -346,8 +346,7 @@ frame's window-system, the theme will be reloaded.")
`(variable-pitch ((t (:font ,(font-xlfd-name doom-variable-pitch-font))))))
;; Fallback to `doom-unicode-font' for Unicode characters
(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 'append)
nil))
((debug error)
(if (string-prefix-p "Font not available: " (error-message-string e))