From 821b54fe2a33ca01b6b24e1485f6a2b638829c48 Mon Sep 17 00:00:00 2001 From: Jesus E Date: Sat, 13 May 2023 16:52:21 -0400 Subject: [PATCH] improve gui+ --- modules/init-gui.el | 9 +++------ 1 file 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