Emacs: Install all-the-icons if not started in GUI.

This commit is contained in:
tastytea 2020-03-08 10:27:51 +01:00
parent b9d8b59714
commit ab79152cba
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-03-08T10:20:47+0100>
;; Time-stamp: <2020-03-08T10:27:43+0100>
;;; Commentary:
@ -43,7 +43,7 @@
:config
;; Install fonts if we have a GUI and the font is not already installed.
(when (and (window-system) (not (my/font-installed-p "all-the-icons")))
(when (not (my/font-installed-p "all-the-icons"))
(all-the-icons-install-fonts t))
)