emacs/ranger: check GUI for all-the-icons-dired-mode

This commit is contained in:
Ting Zhou 2018-12-05 23:15:23 -08:00
parent b00ce82ef9
commit 5698066c0a

View file

@ -31,7 +31,9 @@
(def-package! all-the-icons-dired
:defer t
:hook (dired-mode . all-the-icons-dired-mode))
:init
(when (display-graphic-p)
(add-hook! 'dired-mode-hook #'all-the-icons-dired-mode)))
(def-package! font-lock+)