summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/mm-theme.el
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/modules/mm-theme.el')
-rw-r--r--.config/emacs/modules/mm-theme.el12
1 files changed, 1 insertions, 11 deletions
diff --git a/.config/emacs/modules/mm-theme.el b/.config/emacs/modules/mm-theme.el
index c49c13f..6c5a4c7 100644
--- a/.config/emacs/modules/mm-theme.el
+++ b/.config/emacs/modules/mm-theme.el
@@ -109,17 +109,7 @@ Also see `mm-theme-ligatures-alist'."
(seq-contains-p (split-string system-configuration-features)
"HARFBUZZ"))
(display-graphic-p))
- :commands ligature-mode
- :init
- ;; Add ‘ligature-mode’ as a hook for all modes configured in
- ;; ‘mm-theme-ligatures-alist’
- (thread-last
- mm-theme-ligatures-alist
- (mapcar #'car)
- (flatten-tree)
- (seq-uniq)
- (mapcar #'mm-mode-to-hook)
- (mapc (lambda (mode) (add-hook mode #'ligature-mode))))
+ :hook prog-mode
:config
(mm-theme-update-ligatures))