Emacs: Run doom-themes-treemacs-config even in TUI.

To make it work with server + GUI. No icons in TUI because of
<https://github.com/hlissner/emacs-doom-themes/issues/489>.
This commit is contained in:
tastytea 2020-11-29 10:06:17 +01:00
parent 313fab7f2f
commit 9b940e48e8

View File

@ -1,6 +1,6 @@
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-11-29T09:26:31+0100>
;; Time-stamp: <2020-11-29T10:05:55+0100>
;;; Commentary:
@ -78,8 +78,9 @@
(my/reload-theme)
(doom-themes-visual-bell-config) ; Flash modeline on error.
(when (display-graphic-p)
(doom-themes-treemacs-config))
;; No icons in TUI, see
;; <https://github.com/hlissner/emacs-doom-themes/issues/489>
(doom-themes-treemacs-config)
;; Write a minimal theme to file, to load it in early-init.el.
(unless (string= (face-background 'default) "unspecified-bg")