mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Fix #140: Only load all-the-icons in GUI.
This commit is contained in:
parent
9bc96d908f
commit
ff68bfa4e6
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue