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 ;; 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
(progn
;; enable bold and italic ;; enable bold and italic
(setq doom-themes-enable-bold t (setq doom-themes-enable-bold t
doom-themes-enable-italic 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.