diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-09 15:34:34 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-09 15:34:34 +0200 |
commit | 5d27540a3e611229f3c37452bbb6ab104688867c (patch) | |
tree | 6a5d495a7e5d9b6c802349cdfdccb4490c202b94 | |
parent | c6c9f113eaef1ba9636dd5342c1cd00c956d61ec (diff) |
emacs: Only get ‘ligature’ if Harfbuzz support is available
-rw-r--r-- | .config/emacs/init.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 6b29256..55b46dd 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -650,6 +650,8 @@ font name, font weight, and font height in that order.") ;; Setup ligatures (use-package ligature + :if + (seq-contains-p (split-string system-configuration-features) "HARFBUZZ") :config (ligature-set-ligatures 'c-mode |