Merge pull request #864 from patrl/fixUnicodeRegression

Fix unicode regression
This commit is contained in:
Henrik Lissner 2018-09-04 11:59:46 +02:00 committed by GitHub
commit 96bea9e9ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -346,7 +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)
(set-fontset-font t 'unicode doom-unicode-font nil 'append)
(set-fontset-font t nil doom-unicode-font nil 'append)
nil))
((debug error)
(if (string-prefix-p "Font not available: " (error-message-string e))