Emacs: correctly load theme
This commit is contained in:
parent
809a66890a
commit
f49b8ea90a
1 changed files with 8 additions and 8 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue