Format codes.

This commit is contained in:
Vincent Zhang 2018-06-22 11:13:41 +08:00
parent 8725a8276b
commit b096fa284f

View file

@ -535,17 +535,17 @@ directory, the file name, and its state (modified, read-only or non-existent)."
(defun doom-modeline-maybe-icon-octicon (&rest args) (defun doom-modeline-maybe-icon-octicon (&rest args)
"Display octicon ARGS." "Display octicon ARGS."
(when (and (display-graphic-p) (not (eq system-type 'windows-nt))) (when (display-graphic-p)
(apply 'all-the-icons-octicon args))) (apply 'all-the-icons-octicon args)))
(defun doom-modeline-maybe-icon-faicon (&rest args) (defun doom-modeline-maybe-icon-faicon (&rest args)
"Display fontawesome icon ARGS." "Display fontawesome icon ARGS."
(when (and (display-graphic-p) (not (eq system-type 'windows-nt))) (when (display-graphic-p)
(apply 'all-the-icons-faicon args))) (apply 'all-the-icons-faicon args)))
(defun doom-modeline-maybe-icon-material (&rest args) (defun doom-modeline-maybe-icon-material (&rest args)
"Display material icon ARGS." "Display material icon ARGS."
(when (and (display-graphic-p) (not (eq system-type 'windows-nt))) (when (display-graphic-p)
(apply 'all-the-icons-material args))) (apply 'all-the-icons-material args)))
;; ;;