diff --git a/doom-modeline-core.el b/doom-modeline-core.el index 60686aa..bdc9162 100644 --- a/doom-modeline-core.el +++ b/doom-modeline-core.el @@ -28,12 +28,13 @@ ;;; Code: -(require 'all-the-icons) (require 'eldoc-eval) (require 'shrink-path) (require 'subr-x) (when (>= emacs-major-version 26) (require 'project)) +(when (bound-and-true-p doom-modeline-icon) + (require 'all-the-icons)) ;;