ui/doom: use initial-frame-alist & better +doom/reset-theme

This commit is contained in:
Henrik Lissner 2017-05-17 01:34:33 +02:00
parent bb07e84f7a
commit 44e672655d
2 changed files with 3 additions and 2 deletions

View file

@ -57,8 +57,8 @@
;; Dark frames by default
(when (display-graphic-p)
(push (cons 'background-color (face-background 'default)) default-frame-alist)
(push (cons 'foreground-color (face-foreground 'default)) default-frame-alist))
(push (cons 'background-color (face-background 'default)) initial-frame-alist)
(push (cons 'foreground-color (face-foreground 'default)) initial-frame-alist))
(defun +doom|buffer-mode-on ()
"Enable `doom-buffer-mode' in buffers that are real (see