Add doom/reload-font command
This commit is contained in:
parent
41743869af
commit
7b6dbe92c0
1 changed files with 9 additions and 0 deletions
|
@ -141,6 +141,15 @@ windows (unlike `doom/window-zoom') Activate again to undo."
|
|||
(maximize-window))
|
||||
t)))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/reload-font ()
|
||||
"Reload `doom-font', `doom-variable-pitch-font', and `doom-unicode-font', if
|
||||
set."
|
||||
(interactive)
|
||||
(when (fontp doom-font)
|
||||
(set-frame-font doom-font t))
|
||||
(doom|init-fonts))
|
||||
|
||||
|
||||
;;
|
||||
;; Modes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue