Better font check.

This commit is contained in:
tastytea 2019-04-25 18:38:34 +02:00
parent dc1c611eaa
commit 79fc054fff
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file.
;; Time-stamp: <2019-04-25T13:21:07+00:00>
;; Time-stamp: <2019-04-25T16:38:30+00:00>
;;; Commentary:
;; I am using this file with Emacs 26, but most of it will probably work with
@ -392,7 +392,7 @@ With argument, do this that many times."
;; Icons (required by doom).
(use-package all-the-icons
:config
(unless (file-exists-p "~/.local/share/fonts/all-the-icons.ttf")
(unless (member "all-the-icons" (font-family-list))
(all-the-icons-install-fonts t)))
;; Themes for doom-modeline.