Emacs: Replace (window-system) with (display-graphic-p).

This commit is contained in:
tastytea 2020-11-14 22:47:57 +01:00
parent c4654e31bf
commit 3330ebadd8
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-10-15T12:12:52+0200>
;; Time-stamp: <2020-11-14T22:47:20+0100>
;;; Commentary:
@ -51,7 +51,7 @@
nil))
;; Install fonts if we have a GUI and the font is not already installed.
;; See <https://github.com/domtronn/all-the-icons.el/issues/58>.
:config (when (and (window-system)
:config (when (and (display-graphic-p)
(not (my/font-installed-p "all-the-icons")))
(all-the-icons-install-fonts t)))