+present/big-mode => doom-big-font-mode
And added new variable: doom-big-font app/present is deprecated so this feature has been moved into core.
This commit is contained in:
parent
59c5a78940
commit
6093b81412
3 changed files with 17 additions and 1 deletions
|
@ -70,3 +70,16 @@ window changes before then, the undo expires."
|
|||
(run-hooks 'doom-pre-reload-theme-hook)
|
||||
(doom|init-ui)
|
||||
(run-hooks 'doom-post-reload-theme-hook)))
|
||||
|
||||
;;;###autoload
|
||||
(define-minor-mode doom-big-font-mode
|
||||
"A global mode that resizes the font, for streams, screen-sharing and
|
||||
presentations."
|
||||
:init-value nil
|
||||
:lighter " BIG"
|
||||
:global t
|
||||
(unless (fontp doom-big-font)
|
||||
(user-error "`doom-big-font' isn't set to a valid font"))
|
||||
(if doom-big-font-mode
|
||||
(set-frame-font doom-big-font t t)
|
||||
(set-frame-font doom-font t t)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue