Update doom/reload-{theme,font}

To reflect changes introduced in 17174e143
This commit is contained in:
Henrik Lissner 2019-09-20 19:51:42 -04:00
parent 17174e1437
commit 5f7add8360
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 4 additions and 5 deletions

View file

@ -72,7 +72,8 @@ See `doom-init-fonts-h'."
(interactive)
(when doom-font
(set-frame-font doom-font t))
(mapc #'doom-init-fonts-h (frame-list)))
(doom-init-fonts-h)
(mapc #'doom-init-extra-fonts-h (frame-list)))
;;;###autoload
(defun doom/increase-font-size (count)

View file

@ -44,7 +44,5 @@ face format."
(let ((theme (or (car-safe custom-enabled-themes) doom-theme)))
(when theme
(mapc #'disable-theme custom-enabled-themes))
(when (and doom-theme (not (memq doom-theme custom-enabled-themes)))
(let (doom--prefer-theme-elc)
(load-theme doom-theme t)))
(doom-init-fonts-h)))
(load-theme doom-theme 'noconfirm)
(doom/reload-font)))