diff options
-rw-r--r-- | modules/init-gui.el | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/modules/init-gui.el b/modules/init-gui.el index 50437ae..bca7905 100644 --- a/modules/init-gui.el +++ b/modules/init-gui.el @@ -54,13 +54,10 @@ (lambda () (setq line-spacing 0))) -;; Font theme (Monospace, or DejaVu Sans Mono if Monospace is not -;; present) -(condition-case nil +;; Font theme (DejaVu Sans Mono if Hack isn't present) +(if (member "Hack" (font-family-list)) (set-frame-font "Hack-9") - ;; (set-frame-font "Monospace-9") - ;; (set-frame-font "Anonymous Pro-10") - (error (set-frame-font "DejaVu Sans Mono-10"))) + (set-frame-font "DejaVu Sans Mono-10")) ;;---------------------------------------------------------------------------- ;; Configure keys |