Revert "Only set "Hack" font as default if it is availible"

This reverts commit 4d1e1cc4f7.
This commit is contained in:
Adam Goldsmith 2020-04-14 22:01:39 -04:00
parent 57c0232b89
commit 8944a4d47f

View File

@ -9,9 +9,7 @@
(custom-theme-set-faces (custom-theme-set-faces
'fred 'fred
;; check if "Hack" font is availible before setting it '(default ((default (:foundry "SRC" :family "Hack" :height 110))
`(default ((default ,(let ((font '(:foundry "SRC" :family "Hack" :height 110)))
(when (find-font (apply 'font-spec font)) font)))
(((class color) (min-colors 4096)) (:foreground "#eeeeec" :background "#151515")) (((class color) (min-colors 4096)) (:foreground "#eeeeec" :background "#151515"))
(((class color) (min-colors 256)) (:foreground "#eeeeec" :background "#222")) (((class color) (min-colors 256)) (:foreground "#eeeeec" :background "#222"))
(((class color) (min-colors 89)) (:foreground "#eeeeec" :background "black")))) (((class color) (min-colors 89)) (:foreground "#eeeeec" :background "black"))))