Don't try to change font to one that doesn't exist
This commit is contained in:
parent
d7228a1259
commit
e78bebbf55
|
@ -6,7 +6,11 @@
|
||||||
|
|
||||||
(use-package emacs
|
(use-package emacs
|
||||||
:config
|
:config
|
||||||
(set-face-attribute 'default nil :font "iosevka comfy")
|
(cond
|
||||||
|
((find-font (font-spec :name "iosevka comfy"))
|
||||||
|
(set-face-attribute 'default nil :font "iosevka comfy"))
|
||||||
|
((find-font (font-spec :name "iosevka"))
|
||||||
|
(set-face-attribute 'default nil :font "iosevka")))
|
||||||
|
|
||||||
;; https://github.com/rougier/elegant-emacs/blob/master/sanity.el
|
;; https://github.com/rougier/elegant-emacs/blob/master/sanity.el
|
||||||
(setq inhibit-startup-screen t
|
(setq inhibit-startup-screen t
|
||||||
|
|
Loading…
Reference in New Issue