From a256ae27068655ae6cd8b2c4decef96a2c650ed1 Mon Sep 17 00:00:00 2001 From: Eason0210 Date: Mon, 23 Dec 2024 11:11:03 +0800 Subject: [PATCH] Prefer display-graphic-p instead --- early-init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/early-init.el b/early-init.el index 49346ff..bb2345c 100644 --- a/early-init.el +++ b/early-init.el @@ -112,7 +112,7 @@ ;; Run after startup (add-hook 'after-init-hook (lambda () - (when window-system + (when (display-graphic-p) (aquamacs-load-face-font) (aquamacs-load-charset-font))))