adding warning message

This commit is contained in:
xeijin 2020-02-02 23:39:42 +00:00 committed by GitHub
parent 266ea5038c
commit f9e8cb2f01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,11 +79,11 @@ DOOMDIR environment variable. e.g.
(print! "Regenerating autoloads files")
(doom-cli-reload-autoloads)
(if nofonts-p
(print! (warn "Not installing fonts, as requested"))
(unless IS-WINDOWS
(if IS-WINDOWS
(print! (warn "Automated installation is not supported on Windows, see installation instructions: https://github.com/domtronn/all-the-icons.el#installing-fonts"))
(when (or doom-auto-accept
(y-or-n-p "Download and install all-the-icon's fonts?"))
(require 'all-the-icons)