summaryrefslogtreecommitdiff
path: root/.config/emacs/modules
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-11-11 13:25:24 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-11-11 13:25:24 +0100
commit688586330622053510a51cf4b1d8378ec005f7a8 (patch)
treeab11f6495538cb0d038ed7a6c72c2ff1489acf1e /.config/emacs/modules
parent8b27797246529a2f3105893c4aaada66adba82a5 (diff)
emacs: Remove checks for ‘display-graphic-p’
Diffstat (limited to '.config/emacs/modules')
-rw-r--r--.config/emacs/modules/mm-theme.el8
1 files changed, 3 insertions, 5 deletions
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)