Better font check.

This commit is contained in:
tastytea 2019-04-25 18:38:34 +02:00
parent dc1c611eaa
commit 79fc054fff

View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file. ;;; 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: ;;; Commentary:
;; I am using this file with Emacs 26, but most of it will probably work with ;; 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). ;; Icons (required by doom).
(use-package all-the-icons (use-package all-the-icons
:config :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))) (all-the-icons-install-fonts t)))
;; Themes for doom-modeline. ;; Themes for doom-modeline.