From 688586330622053510a51cf4b1d8378ec005f7a8 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 11 Nov 2024 13:25:24 +0100 Subject: emacs: Remove checks for ‘display-graphic-p’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/emacs/modules/mm-theme.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to '.config/emacs') diff --git a/.config/emacs/modules/mm-theme.el b/.config/emacs/modules/mm-theme.el index 5c9ac27..3e14fe2 100644 --- a/.config/emacs/modules/mm-theme.el +++ b/.config/emacs/modules/mm-theme.el @@ -105,10 +105,9 @@ Also see `mm-theme-ligatures-alist'." (use-package ligature :ensure t - :if (and (or mm-darwin-p - (seq-contains-p (split-string system-configuration-features) - "HARFBUZZ")) - (display-graphic-p)) + :if (or mm-darwin-p + (seq-contains-p (split-string system-configuration-features) + "HARFBUZZ")) :hook prog-mode :config (mm-theme-update-ligatures)) @@ -169,7 +168,6 @@ See also the `mm-theme-background-opacity' variable." (use-package spacious-padding :ensure t - :if (display-graphic-p) :hook after-init) -- cgit v1.2.3