Update doom/reload-{theme,font}
To reflect changes introduced in 17174e143
This commit is contained in:
parent
17174e1437
commit
5f7add8360
2 changed files with 4 additions and 5 deletions
|
@ -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)
|
||||
|
|
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue