From 79fc054fffb1a23a3f6e240fbfd9a19f888bfdeb Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 25 Apr 2019 18:38:34 +0200 Subject: [PATCH] Better font check. --- init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index fa76847..df2866e 100644 --- a/init.el +++ b/init.el @@ -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.