Emacs: correctly load theme

This commit is contained in:
Marcel Kapfer 2017-11-28 00:10:44 +01:00
parent 809a66890a
commit f49b8ea90a

View file

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