From 266ea5038c1b5888cbfe116cee30536546247559 Mon Sep 17 00:00:00 2001 From: xeijin Date: Sun, 2 Feb 2020 23:23:05 +0000 Subject: [PATCH] Update install.el --- core/cli/install.el | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/core/cli/install.el b/core/cli/install.el index 85da5b11e..1d64bb59b 100644 --- a/core/cli/install.el +++ b/core/cli/install.el @@ -80,15 +80,16 @@ DOOMDIR environment variable. e.g. (print! "Regenerating autoloads files") (doom-cli-reload-autoloads) - (unless IS-WINDOWS - (if nofonts-p - (print! (warn "Not installing fonts, as requested")) - (when (or doom-auto-accept - (y-or-n-p "Download and install all-the-icon's fonts?")) - (require 'all-the-icons) - (let ((window-system (cond (IS-MAC 'ns) - (IS-LINUX 'x)))) - (all-the-icons-install-fonts 'yes))))) + + (if nofonts-p + (print! (warn "Not installing fonts, as requested")) + (unless IS-WINDOWS + (when (or doom-auto-accept + (y-or-n-p "Download and install all-the-icon's fonts?")) + (require 'all-the-icons) + (let ((window-system (cond (IS-MAC 'ns) + (IS-LINUX 'x)))) + (all-the-icons-install-fonts 'yes))))) (when (file-exists-p "~/.emacs") (print! (warn "A ~/.emacs file was detected. This conflicts with Doom and should be deleted!")))