From 5c3f7d648d5aed7508732e9228f719e75117783b Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 9 Nov 2019 20:28:31 -0500 Subject: [PATCH] cli/doctor: fix void-variable font-dest error ...when a font is missing. --- core/cli/doctor.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/cli/doctor.el b/core/cli/doctor.el index 28b1b009d..c04409426 100644 --- a/core/cli/doctor.el +++ b/core/cli/doctor.el @@ -145,8 +145,7 @@ in." (insert (cdr (doom-call-process "fc-list"))) (re-search-backward "Fira" nil t)) (success! "Found font %s" font) - (print! (warn "Warning: couldn't find %s font in %s") - font font-dest) + (print! (warn "Warning: couldn't find %S font") font) (explain! "You can install it by running `M-x all-the-icons-install-fonts' within Emacs.\n\n" "This could also mean you've installed them in non-standard locations, in which " "case feel free to ignore this warning."))))))