Emacs: Replace (window-system) with (display-graphic-p).
This commit is contained in:
parent
c4654e31bf
commit
3330ebadd8
|
@ -1,6 +1,6 @@
|
||||||
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
|
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-10-15T12:12:52+0200>
|
;; Time-stamp: <2020-11-14T22:47:20+0100>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
nil))
|
nil))
|
||||||
;; Install fonts if we have a GUI and the font is not already installed.
|
;; 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>.
|
;; 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")))
|
(not (my/font-installed-p "all-the-icons")))
|
||||||
(all-the-icons-install-fonts t)))
|
(all-the-icons-install-fonts t)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user