Fix #140: Only load all-the-icons in GUI.

This commit is contained in:
Vincent Zhang 2019-03-09 01:51:11 +07:00
parent 9bc96d908f
commit ff68bfa4e6

View file

@ -28,12 +28,13 @@
;;; Code: ;;; Code:
(require 'all-the-icons)
(require 'eldoc-eval) (require 'eldoc-eval)
(require 'shrink-path) (require 'shrink-path)
(require 'subr-x) (require 'subr-x)
(when (>= emacs-major-version 26) (when (>= emacs-major-version 26)
(require 'project)) (require 'project))
(when (bound-and-true-p doom-modeline-icon)
(require 'all-the-icons))
;; ;;