cli/doctor: fix font checks
This commit is contained in:
parent
5c3f7d648d
commit
6c31968a46
1 changed files with 9 additions and 9 deletions
|
@ -140,15 +140,15 @@ in."
|
|||
"/fonts/"))
|
||||
(`darwin "~/Library/Fonts/"))
|
||||
(require 'all-the-icons nil t))
|
||||
(dolist (font all-the-icons-font-families)
|
||||
(if (with-temp-buffer
|
||||
(with-temp-buffer
|
||||
(insert (cdr (doom-call-process "fc-list")))
|
||||
(re-search-backward "Fira" nil t))
|
||||
(dolist (font all-the-icons-font-names)
|
||||
(if (save-excursion (re-search-backward font nil t))
|
||||
(success! "Found font %s" font)
|
||||
(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."))))))
|
||||
"case feel free to ignore this warning.")))))))
|
||||
|
||||
(print! (start "Checking for stale elc files in your DOOMDIR..."))
|
||||
(when (file-directory-p doom-private-dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue