From bc358bbc7edb1dc9bdd93fdf82509126755bb37c Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 4 Nov 2017 22:13:27 +0100 Subject: [PATCH] Remove default font detection from doom-doctor --- bin/doom-doctor | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/bin/doom-doctor b/bin/doom-doctor index d0892a974..311cb3e21 100755 --- a/bin/doom-doctor +++ b/bin/doom-doctor @@ -145,17 +145,6 @@ (warn! "Warning: unable to detect font") (explain! "The `find-font' function is missing. This could indicate the incorrect " "version of Emacs is being used!")) - (defun -find-font (family) - (when (fontp family) - (setq family (symbol-name (font-get doom-font :family)))) - (let ((inhibit-message t)) - (shell-command (format "fc-list | grep %s" (shell-quote-argument family))))) - - (when (boundp 'doom-font) - (if (-find-font doom-font) - (success! "Found font %s" (font-get doom-font :family)) - (warn! "Warning: couldn't find %s font (default) (%s)" - (font-get doom-font :family)))) ;; all-the-icons fonts (let ((font-dest (pcase system-type ('gnu/linux (concat (or (getenv "XDG_DATA_HOME")