diff options
| author | Astounds <kirito@disroot.org> | 2026-02-21 16:04:36 -0500 |
|---|---|---|
| committer | Astounds <kirito@disroot.org> | 2026-02-21 16:04:36 -0500 |
| commit | 81b1d3da5bd94f30f135890969e1c0e7c9866ba3 (patch) | |
| tree | 773e6cb613d05263e862e5d06f339df4f172ba2a /modules | |
| parent | 938219c348f015bf796698d34a35157ad88cce0f (diff) | |
| download | emacs-personal-81b1d3da5bd94f30f135890969e1c0e7c9866ba3.tar.lz emacs-personal-81b1d3da5bd94f30f135890969e1c0e7c9866ba3.tar.xz emacs-personal-81b1d3da5bd94f30f135890969e1c0e7c9866ba3.zip | |
fix usage all-the-icons
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/init-icons.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/init-icons.el b/modules/init-icons.el index e9e7163..a768f78 100644 --- a/modules/init-icons.el +++ b/modules/init-icons.el @@ -13,9 +13,9 @@ ;;---------------------------------- ;; Fonts - connecting with neotree ;;--------------------------------- - (if (member "all-the-icons" (font-family-list)) - (message "The all-the-icons are installed (.❛ ᴗ ❛.)") - (setq neotree-mode-hook 'all-the-icons-install-fonts))) + (when (display-graphic-p) + (unless (member "all-the-icons" (font-family-list)) + (setq neotree-mode-hook 'all-the-icons-install-fonts)))) ;; fix performace (setq inhibit-compacting-font-caches t) |
