Emacs: correctly load theme

This commit is contained in:
Marcel Kapfer 2017-11-28 00:10:44 +01:00
parent 809a66890a
commit f49b8ea90a
1 changed files with 8 additions and 8 deletions

View File

@ -593,17 +593,17 @@
;; doom-themes ;; doom-themes
;; an opinionated pack of modern color-themes ;; an opinionated pack of modern color-themes
(use-package doom-themes (use-package doom-themes
:defer t
:config :config
;; enable bold and italic (progn
(setq doom-themes-enable-bold t ;; enable bold and italic
doom-themes-enable-italic t) (setq doom-themes-enable-bold t
doom-themes-enable-italic t)
;; enable doom one theme ;; enable doom one theme
(add-hook 'after-init-hook (lambda () (load-theme 'doom-one t))) (load-theme 'doom-one :no-confirm)
;; enable flashing mode-line on errors ;; enable flashing mode-line on errors
(doom-themes-visual-bell-config)) (doom-themes-visual-bell-config)))
;; pdf-tools ;; pdf-tools
;; Support library for PDF documents. ;; Support library for PDF documents.