cli/doctor: fix void-variable font-dest error

...when a font is missing.
This commit is contained in:
Henrik Lissner 2019-11-09 20:28:31 -05:00
parent 2158b7bdeb
commit 5c3f7d648d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -145,8 +145,7 @@ in."
(insert (cdr (doom-call-process "fc-list"))) (insert (cdr (doom-call-process "fc-list")))
(re-search-backward "Fira" nil t)) (re-search-backward "Fira" nil t))
(success! "Found font %s" font) (success! "Found font %s" font)
(print! (warn "Warning: couldn't find %s font in %s") (print! (warn "Warning: couldn't find %S font") font)
font font-dest)
(explain! "You can install it by running `M-x all-the-icons-install-fonts' within Emacs.\n\n" (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 " "This could also mean you've installed them in non-standard locations, in which "
"case feel free to ignore this warning.")))))) "case feel free to ignore this warning."))))))